summaryrefslogtreecommitdiff
path: root/log.lp
diff options
context:
space:
mode:
Diffstat (limited to 'log.lp')
-rw-r--r--log.lp9
1 files changed, 9 insertions, 0 deletions
diff --git a/log.lp b/log.lp
index 598e414..83aab96 100644
--- a/log.lp
+++ b/log.lp
@@ -1,6 +1,8 @@
This file contains a simple logging function. It is a modified version of the example logging function implementation provided in `std.log`.
@: *
+@= License
+
@= Imports
@= Level setting
@@ -8,6 +10,13 @@ This file contains a simple logging function. It is a modified version of the ex
@= Logging function
@.
+@: License
+// 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/.
+@.
+
We first import the standard library, and the `Level` type which is an enum representing the possible log levels.
@: Imports