mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 10:47:51 +08:00
todo(eventlog)
License: MIT Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
This commit is contained in:
parent
2134365c48
commit
c6a84884c9
@ -53,6 +53,10 @@ type StandardLogger interface {
|
||||
|
||||
// Logger retrieves an event logger by name
|
||||
func Logger(system string) EventLogger {
|
||||
|
||||
// TODO if we would like to adjust log levels at run-time. Store this event
|
||||
// logger in a map (just like the util.Logger impl)
|
||||
|
||||
return &eventLogger{system: system, Logger: util.Logger(system)}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user