Discover Packages
github.com/shipperizer/kilo-franz
logging
package
Version:
v1.2.2
Opens a new window with list of versions in this module.
Published: Feb 21, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewLogger creates a new default logger
it will need to be closed with
```
defer logger.Desugar().Sync()
```
to make sure all has been piped out before terminating
type LoggerInterface interface {
Errorf(string , ...interface{})
Infof(string , ...interface{})
Warnf(string , ...interface{})
Debugf(string , ...interface{})
Fatalf(string , ...interface{})
Error(...interface{})
Info(...interface{})
Warn(...interface{})
Debug(...interface{})
Fatal(...interface{})
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.