File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change 55[ ![ ISC License] ( http://img.shields.io/badge/license-ISC-blue.svg )] ( http://copyfree.org )
66[ ![ GoDoc] ( https://img.shields.io/badge/godoc-reference-blue.svg )] ( http://godoc.org/github.com/btcsuite/btclog )
77
8- Package btclog implements a subsystem aware logger backed by seelog.
9-
10- Seelog allows you to specify different levels per backend such as console and
11- file, but it doesn't support levels per subsystem well. You can create multiple
12- loggers, but when those are backed by a file, they have to go to different
13- files. That is where this package comes in. It provides a SubsystemLogger
14- which accepts the backend seelog logger to do the real work. Each instance of a
15- SubsystemLogger then allows you specify (and retrieve) an individual level per
16- subsystem. All messages are then passed along to the backend seelog logger.
8+ Package btclog defines a logger interface and provides a default implementation
9+ of a subsystem-aware leveled logger implementing the same interface.
1710
1811## Installation
1912
You can’t perform that action at this time.
0 commit comments