package writer
import "github.com/sirupsen/logrus/hooks/writer"
Index ¶
Types ¶
type Hook ¶
Hook is a hook that writes logs of specified LogLevels to specified Writer
func (*Hook) Fire ¶
Fire will be called when some logging function is called with current hook It will format log entry to string and write it to appropriate writer
func (*Hook) Levels ¶
Levels define on which log levels this hook would trigger
Source Files ¶
- Version
- v1.9.3 (latest)
- Published
- May 21, 2023
- Platform
- linux/amd64
- Imports
- 2 packages
- Last checked
- 19 hours ago –
Tools for package owners.