vmware-go-kcl-v2/logger
Mike Pye 10d6b28edf Use FieldLogger interface to represent logrus logger (#75)
The FieldLogger interface is satisfied by either *Logger or *Entry.
Accepting this interface in place of the concrete *Logger type allows
users to inject a logger with some fields already set. For example, the
application developer might want all logging from the library to have a
`subsystem=kcl` field.

Signed-off-by: Mike Pye <mail@mdpye.co.uk>
2021-12-20 21:21:15 -06:00
..
zap logger: move zap into its own package (#47) 2021-12-20 21:21:15 -06:00
logger.go Add generic logger support (#43) 2021-12-20 21:21:14 -06:00
logger_test.go logger: move zap into its own package (#47) 2021-12-20 21:21:15 -06:00
logrus.go Use FieldLogger interface to represent logrus logger (#75) 2021-12-20 21:21:15 -06:00