Documentation
¶
Index ¶
- Variables
- func Debug(msg string)
- func Debugf(format string, v ...interface{})
- func Error(err error)
- func Errorf(format string, v ...interface{})
- func Event(eventType, path string)
- func Fatal(err error)
- func Fatalf(format string, v ...interface{})
- func Info(msg string)
- func Infof(format string, v ...interface{})
- func Init(opts ...Option)
- func Warn(msg string)
- func Warnf(format string, v ...interface{})
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Logger is the global logger instance Logger zerolog.Logger )
Functions ¶
func Event ¶
func Event(eventType, path string)
Event creates a colored event log for file system events
Types ¶
type Option ¶
type Option func(*Options)
Option is a function that configures Options
func WithColors ¶
WithColors enables or disables colors in pretty logging
Click to show internal directories.
Click to hide internal directories.