diff options
author | Patrick Spek <p.spek@tyil.nl> | 2020-07-02 03:50:25 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2020-07-02 03:50:25 +0200 |
commit | 94534a9c8c84769148e4f85aec0540608f44898b (patch) | |
tree | e0c8ec82911197eb5f99e89b4d2fc38d47d90a20 /META6.json | |
parent | 4c7c8bc3889b84454d40248bee98a79544ca4369 (diff) |
Implement raiph's our-scalar suggestion
This moves the actual Log role to Log::Abstract, but the user-facing
interface remains the same due to some EXPORT magic. This little bit of
magic makes manual inclusion of Log::Level redundant as well.
The suggestion itself concerns a new addition to the module,
$Log::instance. This is a "shared" variable in that one part of your
program can set it, and others parts can use it wherever. This is
potentially favourable over using $*LOG, especially in multi-threaded
programs.
Diffstat (limited to 'META6.json')
-rw-r--r-- | META6.json | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,8 +10,9 @@ "perl": "6.d", "provides": { "Log": "lib/Log.rakumod", + "Log::Abstract": "lib/Log/Abstract.rakumod", "Log::Level": "lib/Log/Level.rakumod" }, "source-url": "https://home.tyil.nl/git/raku/Log/", "version": "0.1.1" -}
\ No newline at end of file +} |