File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ Compiler/Runtime improvements
64
64
Code that requires assumptions about object layout and addresses (usually for
65
65
interoperability with C or other languages) might need to be updated; for
66
66
example any object that needs a stable address should be a ` mutable struct ` .
67
+ As a result, Array ` view ` s no longer allocate ([ #34126 ] ).
67
68
68
69
Command-line option changes
69
70
---------------------------
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