whity / raku-log Goto Github PK
View Code? Open in Web Editor NEWLicense: Artistic License 2.0
License: Artistic License 2.0
❯ zef install Logger
[ snipped updating repos ]
===> Testing: Logger:ver<0.4.5>
[Logger] # Failed test 'standard timestamp'
[Logger] # at t/06-datetime-formatter.t line 21
[Logger] # expected a match with: /^ '[' \d+ '-' \d+ '-' \d+ 'T' \d+ ':' \d+ ':' \d+ '.' \d+ 'Z'? ']'/
[Logger] # got: "[2022-10-19T23:11:21.125743-04:00][INFO] test message\n"
[Logger] # You failed 1 test of 2
===> Testing [FAIL]: Logger:ver<0.4.5>
Aborting due to test failure: Logger:ver<0.4.5> (use --force-test to override)
OS: macOS Monterrey v 12.6 on m1 mac.
❯ rakudo --version
Welcome to Rakudo™ v2022.07.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.07.
Hi,
According to the doc It is possible to set another pattern string:
$log.pattern = '%X{key} %x %m%n';
Trying that I just got an exception:
my $log = Logger.new; $log.pattern = ''
Cannot modify an immutable Str ([%d][%c] %m%n)
OS: Linux 5.11.12-arch1-1
Raku: Welcome to Rakudo(tm) v2020.12.
Implementing the Raku(tm) programming language v6.d.
Built on MoarVM version 2020.12.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.