diff options
Diffstat (limited to 'doc/log.html')
-rwxr-xr-x | doc/log.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/log.html b/doc/log.html index ea19845..59e9627 100755 --- a/doc/log.html +++ b/doc/log.html @@ -33,9 +33,7 @@ <h3 id="license">License:</h3> <pre><code>// Copyright 2022 DistressNetwork° <uplink@distress.network> -// This Source Code Form is subject to the terms of the Mozilla Public -// License, v. 2.0. If a copy of the MPL was not distributed with this -// file, You can obtain one at https://mozilla.org/MPL/2.0/. +// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. </code></pre> <p>We first import the standard library, and the <code>Level</code> type which is an enum representing the possible log levels.</p> @@ -77,7 +75,7 @@ const Level = std.log.Level; <pre><code>if (@enumToInt(level) > @enumToInt(log_level)) return; </code></pre> -<p>Next the message string is created. The unformatted content of this string is evaluated at compile-time, before being formatted by the print function at runtime. The “info” and “error” log levels use custom names, whereas all other levels use their default display names.</p> +<p>Next the message string is created. The unformatted content of this string is evaluated at compile time, before being formatted by the print function at runtime. The ‘info’ and ‘error’ log levels use custom names, whereas all other levels use their default display names.</p> <h3 id="define-message-string">Define message string:</h3> |