aboutsummaryrefslogtreecommitdiff
path: root/lib/Log/Abstract.rakumod
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-07-02 12:21:33 +0200
committerPatrick Spek <p.spek@tyil.nl>2020-07-02 12:21:33 +0200
commitbe1db7a9c513ec59337f1d1ef57a8402e987c50c (patch)
treed1a13763a20df4922ea29b58fd9d2a27ed0fbcb1 /lib/Log/Abstract.rakumod
parente3f290ab0743212e1a31552205753d2210529a09 (diff)
Rename some stuff around
Diffstat (limited to 'lib/Log/Abstract.rakumod')
-rw-r--r--lib/Log/Abstract.rakumod56
1 files changed, 0 insertions, 56 deletions
diff --git a/lib/Log/Abstract.rakumod b/lib/Log/Abstract.rakumod
deleted file mode 100644
index 81ec093..0000000
--- a/lib/Log/Abstract.rakumod
+++ /dev/null
@@ -1,56 +0,0 @@
-#! /usr/bin/env false
-
-use v6.d;
-
-use Log::Level;
-
-unit role Log::Abstract;
-
-# Methods for handling plain string messages.
-multi method emergency (Str:D $) { * }
-multi method alert (Str:D $) { * }
-multi method critical (Str:D $) { * }
-multi method error (Str:D $) { * }
-multi method warning (Str:D $) { * }
-multi method notice (Str:D $) { * }
-multi method info (Str:D $) { * }
-multi method debug (Str:D $) { * }
-
-# Methods for handling formatted messages.
-multi method emergency (Str:D $, *@) { * }
-multi method alert (Str:D $, *@) { * }
-multi method critical (Str:D $, *@) { * }
-multi method error (Str:D $, *@) { * }
-multi method warning (Str:D $, *@) { * }
-multi method notice (Str:D $, *@) { * }
-multi method info (Str:D $, *@) { * }
-multi method debug (Str:D $, *@) { * }
-
-# Method for configuration
-multi method add-output (IO::Handle:D $, Int() $ where Log::Level::Emergency ≤ * ≤ Log::Level::Debug, Callable $?) { * }
-
-=begin pod
-
-=NAME Log::Abstract
-=VERSION 0.2.0
-=AUTHOR Patrick Spek <p.spek@tyil.nl>
-
-=begin LICENSE
-Copyright © 2020
-
-This program is free software: you can redistribute it and/or modify it under
-the terms of the GNU Lesser General Public License as published by the Free
-Software Foundation, version 3.
-
-This program is distributed in the hope that it will be useful, but WITHOUT ANY
-WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
-details.
-
-You should have received a copy of the GNU Lesser General Public License along
-with this program. If not, see http://www.gnu.org/licenses/.
-=end LICENSE
-
-=end pod
-
-# vim: ft=raku noet sw=8 ts=8