SetLogger sets the logger to use for tracing.
(l *log.Logger)
| 37 | |
| 38 | // SetLogger sets the logger to use for tracing. |
| 39 | func SetLogger(l *log.Logger) { |
| 40 | logger = l |
| 41 | } |
| 42 | |
| 43 | // Print prints the given message only if the target is enabled. |
| 44 | func (t Target) Print(args ...interface{}) { |