@@ -247,7 +247,7 @@ func NewRaw(opts ...Opts) *zap.Logger {
247
247
// Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn)
248
248
// Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error)
249
249
// - zap-encoder: Zap log encoding (one of 'json' or 'console')
250
- // - zap-log-level: Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error',
250
+ // - zap-log-level: Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic'
251
251
// or any integer value > 0 which corresponds to custom debug levels of increasing verbosity").
252
252
// - zap-stacktrace-level: Zap Level at and above which stacktraces are captured (one of 'info', 'error' or 'panic')
253
253
// - zap-time-encoding: Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'),
@@ -271,7 +271,7 @@ func (o *Options) BindFlags(fs *flag.FlagSet) {
271
271
o .Level = fromFlag
272
272
}
273
273
fs .Var (& levelVal , "zap-log-level" ,
274
- "Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', " +
274
+ "Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic' " +
275
275
"or any integer value > 0 which corresponds to custom debug levels of increasing verbosity" )
276
276
277
277
// Set the StrackTrace Level
0 commit comments