Skip Menu |

This queue is for tickets about the Log-ger CPAN distribution.

Report information
The Basics
Id: 122687
Status: resolved
Priority: 0/
Queue: Log-ger

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.021
Fixed in: (no value)



Subject: Output must be specified afte Layout
I'm not sure if this is a documentation issue or a bug. This produces no output: use Log::ger::Output 'Screen'; use Log::ger::Layout 'JSON'; use Log::ger; log_warn( 'Foo' ); while this does: use Log::ger::Layout 'JSON'; use Log::ger::Output 'Screen'; use Log::ger; log_warn( 'Foo' );
On Wed, 2 Aug 2017 15:55:39 GMT, DJERIUS wrote: Show quoted text
> I'm not sure if this is a documentation issue or a bug. > > This produces no output: > > use Log::ger::Output 'Screen'; > use Log::ger::Layout 'JSON'; > use Log::ger; > > log_warn( 'Foo' ); > > > while this does: > > use Log::ger::Layout 'JSON'; > use Log::ger::Output 'Screen'; > use Log::ger; > > log_warn( 'Foo' );
Yup, it's a stupid copy-paste mistake introduced yesterday [1]. Fixed, thanks. Ref: [1] https://github.com/perlancar/perl-Log-ger/commit/2e94000889afdce9cf3572f1051e9fe801235a89