summaryrefslogtreecommitdiff
path: root/log.lp
diff options
context:
space:
mode:
authoreudoxia <uplink@distress.network>2022-04-25 02:26:06 -0400
committereudoxia <uplink@distress.network>2022-04-25 02:26:06 -0400
commit04518819d5916cd4d024b4c6c777d23c75407e60 (patch)
tree5e65492c73bfb06e2d12c166c0faa4d85ebe8828 /log.lp
parentaa372c0ed6ca775f603a535d8bad70f172751a29 (diff)
added license headers
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