vendor/github.com/spf13/viper/logger.go
changeset 262 8d3354485fc3
parent 260 445e01aede7e
equal deleted inserted replaced
261:270cc4dda0c5 262:8d3354485fc3
     5 
     5 
     6 	jww "github.com/spf13/jwalterweatherman"
     6 	jww "github.com/spf13/jwalterweatherman"
     7 )
     7 )
     8 
     8 
     9 // Logger is a unified interface for various logging use cases and practices, including:
     9 // Logger is a unified interface for various logging use cases and practices, including:
    10 // 		- leveled logging
    10 //   - leveled logging
    11 // 		- structured logging
    11 //   - structured logging
    12 type Logger interface {
    12 type Logger interface {
    13 	// Trace logs a Trace event.
    13 	// Trace logs a Trace event.
    14 	//
    14 	//
    15 	// Even more fine-grained information than Debug events.
    15 	// Even more fine-grained information than Debug events.
    16 	// Loggers not supporting this level should fall back to Debug.
    16 	// Loggers not supporting this level should fall back to Debug.