27 Mar
2012
27 Mar
'12
7:41 p.m.
Thanks Curtis for the PR. Le 27 mars 2012 16:37, Ovid <curtis_ovid_poe@yahoo.com> a écrit :
The only open question is this bit in Dancer::Logger::Abstract:
my $levels = {
# levels < 0 are for core only core => -10,
# levels > 0 are for end-users only debug => 1, warn => 2, warning => 2, error => 3, info => 4, };
I put info at level 4 under the premise that these messages should always be in the logs. I am using this branch at work and so far it works fine.
Hmm, to me "info" should be below warning. If the user does not even want to see error messages, he wont want to see "info" messages. My two cents ;)