Documentation
¶
Overview ¶
zapwrap wraps a zap logger into the interface the Echo framework is expecting
Index ¶
Constants ¶
const ( // PanicLevel level, highest level of severity. Logs and then calls panic with the // message passed to Debug, Info, ... PanicLevel uint8 = iota // FatalLevel level. Logs and then calls `os.Exit(1)`. It will exit even if the // logging level is set to Panic. FatalLevel // ErrorLevel level. Logs. Used for errors that should definitely be noted. // Commonly used for hooks to send errors to an error tracking service. ErrorLevel // WarnLevel level. Non-critical entries that deserve eyes. WarnLevel // InfoLevel level. General operational entries about what's going on inside the // application. InfoLevel // DebugLevel level. Usually only enabled when debugging. Very verbose logging. DebugLevel )
These are the level consts from logrus, which I assume echo is using based on it being uint8s I could just reference these from logrus's package but that seems like it might be fragile and causes a dependency we shouldn't need.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.