summaryrefslogtreecommitdiff
path: root/doc/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/log.html')
-rwxr-xr-xdoc/log.html6
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° &#60;uplink@distress.network&#62;
-// 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) &#62; @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 &#8220;info&#8221; and &#8220;error&#8221; 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 &#8216;info&#8217; and &#8216;error&#8217; log levels use custom names, whereas all other levels use their default display names.</p>
<h3 id="define-message-string">Define message string:</h3>