Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-07-02 | Rename some stuff around | Patrick Spek | 1 | -56/+0 | |
2020-07-02 | Bump version to v0.2.0v0.2.0 | Patrick Spek | 1 | -1/+1 | |
2020-07-02 | Implement raiph's our-scalar suggestion | Patrick Spek | 1 | -0/+56 | |
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. |