Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hook ¶
type Hook struct { // The io.Writer, this can be stdout or stderr. Writer io.Writer // The slice of log levels the writer can too. LogLevels []logrus.Level }
Hook is a hook that writes logs of specified LogLevels to specified Writer.
Click to show internal directories.
Click to hide internal directories.