File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,12 @@ Severity/verbosity of a log record.
105
105
The log level provides a key against which potential log records may be
106
106
filtered, before any other work is done to construct the log record data
107
107
structure itself.
108
+
109
+ # Examples
110
+ ```
111
+ julia> Logging.LogLevel(0) == Logging.Info
112
+ true
113
+ ```
108
114
"""
109
115
struct LogLevel
110
116
level:: Int32
420
426
Disable all log messages at log levels equal to or less than `level`. This is
421
427
a *global* setting, intended to make debug logging extremely cheap when
422
428
disabled.
429
+
430
+ # Examples
431
+ ```
432
+ Logging.disable_logging(Logging.Info) # Disable debug and info
433
+ ```
423
434
"""
424
435
function disable_logging (level:: LogLevel )
425
436
_min_enabled_level[] = level + 1
You can’t perform that action at this time.
0 commit comments