Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Log ¶
type Log struct {
// contains filtered or unexported fields
}
Log is a log data source used for a specific part of your application, e.g. "web", "database", "api" or other categories. It can be connected to multiple writers.
func (*Log) Error ¶
Error writes critical information to the log. It will instantly flush the I/O buffers and guarantees that the message will have been written persistenly to disk at the time this function returns.
Click to show internal directories.
Click to hide internal directories.