forked from kucjac/uni-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
19 lines (15 loc) · 871 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
package unilogger contains LoggerWrapper, BasicLogger and logging interfaces.
In order not to extort any specific logging package, a LoggerWrapper has been created.
LoggerWrapper wraps around third-party loggers that implement one of the logging-interfaces:
# StdLogger - standard library logger interface
# LeveledLogger - basic leveled logger interface
# DebugLeveledLogger - leveled logger with the debug2 and debug3 levels
# ShortLeveledLogger - basic leveled logger interfaces with shortened method names
# ExtendedLeveledLogger - a fully leveled logger interface
This solution allows to use ExtendedLeveledLogger interface methods for most of the third-party
logging packages.
There is also BasicLogger logger that implements 'DebugLeveledLogger' interface.
It is very simple and lightweight implementation of debug leveled logger.
*/
package unilogger