package
0.5.4
Repository: https://github.com/cashapp/protosync.git
Documentation: pkg.go.dev

# Functions

Configure global logging.
Debugf logs a debug message.
Elapsed logs the duration of a function call.
Errorf logs an error.
Fatalf logs an error and terminates the process.
Infof logs an informational message.
LevelFromString maps a level to a string.
Logf logs at the given level.
Tracef logs a trace message.
Warnf logs a warning.

# Constants

debug.
error.
fatal.
info.
trace.
warn.

# Variables

Levels of logging.
LogError is the stderr for logs and where error+fatal logs are sent.
LogOutput is the stdout for logs.
MinLevel of displayed logs.
Root logger.

# Structs

Config for logger.
Logger is a scoped logging object.

# Interfaces

WriterFlusher is used to flush log output after each line.

# Type aliases

Level for a log message.