WithLoggingLevel returns a new Options value with logging level of the default logger set to the given value. LoggingLevel sets the level of logging. It should be one of DEBUG, INFO, WARNING or ERROR levels. The default value of LoggingLevel is INFO.
(val loggingLevel)
| 237 | // |
| 238 | // The default value of LoggingLevel is INFO. |
| 239 | func (opt Options) WithLoggingLevel(val loggingLevel) Options { |
| 240 | opt.Logger = defaultLogger(val) |
| 241 | return opt |
| 242 | } |
| 243 | |
| 244 | // WithSyncWrites returns a new Options value with SyncWrites set to the given value. |
| 245 | // |
nothing calls this directly
no test coverage detected