11 // The options used to create the Default logger. These are
12 // read only when the Default logger is created, so set them
13 // as soon as the process starts.
14 DefaultOptions = &LoggerOptions{
16 Output: DefaultOutput,
20 // Return a logger that is held globally. This can be a good starting
21 // place, and then you can use .With() and .Name() to create sub-loggers
22 // to be used in more specific contexts.
23 func Default() Logger {
25 def = New(DefaultOptions)
31 // A short alias for Default()