You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
149 B

  1. package log
  2. import (
  3. "github.com/rs/zerolog"
  4. )
  5. func NewNopLogger() Logger {
  6. return defaultLogger{
  7. Logger: zerolog.Nop(),
  8. trace: false,
  9. }
  10. }