NewProduction builds a sensible production Logger that writes InfoLevel and above logs to standard error as JSON. It's a shortcut for NewProductionConfig().Build(...Option).
(options ...Option)
| 98 | // |
| 99 | // It's a shortcut for NewProductionConfig().Build(...Option). |
| 100 | func NewProduction(options ...Option) (*Logger, error) { |
| 101 | return NewProductionConfig().Build(options...) |
| 102 | } |
| 103 | |
| 104 | // NewDevelopment builds a development Logger that writes DebugLevel and above |
| 105 | // logs to standard error in a human-friendly format. |
nothing calls this directly
no test coverage detected