summaryrefslogtreecommitdiff
path: root/doc/freestanding/log.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/freestanding/log.html')
-rw-r--r--doc/freestanding/log.html6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/freestanding/log.html b/doc/freestanding/log.html
index f8e2994..3e32826 100644
--- a/doc/freestanding/log.html
+++ b/doc/freestanding/log.html
@@ -45,9 +45,7 @@ ul ul,ol ol {margin: 0;}
<h3 id="license">License:</h3>
<pre><code>&#47;&#47; Copyright 2022 DistressNetwork° &#60;uplink@distress.network&#62;
-&#47;&#47; This Source Code Form is subject to the terms of the Mozilla Public
-&#47;&#47; License, v. 2.0. If a copy of the MPL was not distributed with this
-&#47;&#47; file, You can obtain one at https:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
+&#47;&#47; 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:&#47;&#47;mozilla.org&#47;MPL&#47;2.0&#47;.
</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>
@@ -89,7 +87,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>