Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fields ¶
type Fields map[string]interface{}
Fields represents key/value pairs and will be JSON encoded when passed to Logger.Print.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
A Logger provides simple, user-friendly and thread-safe logging.
func DefaultLogger ¶
DefaultLogger constructs a new *jolt.Logger with the following defaults:
ts current UTC time (RFC3339) loc the source file and line number of the caller
Click to show internal directories.
Click to hide internal directories.