AppendSinks appends the sinks to the set sink targets on the logger.
(s ...Sink)
| 151 | // AppendSinks appends the sinks to the set sink |
| 152 | // targets on the logger. |
| 153 | func (l Logger) AppendSinks(s ...Sink) Logger { |
| 154 | l.sinks = append(l.sinks, s...) |
| 155 | return l |
| 156 | } |
| 157 | |
| 158 | func (l Logger) log(ctx context.Context, level Level, msg string, fields []Field) { |
| 159 | ent := l.entry(ctx, level, msg, fields) |
no outgoing calls