[Dancer-users] Logging and "info"
Alexis Sukrieh
sukria at sukria.net
Tue Mar 27 21:41:08 CEST 2012
Thanks Curtis for the PR.
Le 27 mars 2012 16:37, Ovid <curtis_ovid_poe at 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 ;)
More information about the Dancer-users
mailing list