- Timestamp:
- Apr 14, 2009, 11:12:04 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/neb_distrib_20081210/Nebulous-Server/lib/Nebulous/Server/Config.pm
r23537 r23854 36 36 37 37 my $new_validate = { 38 log_level=> {38 trace => { 39 39 type => SCALAR, 40 40 optional => 1, 41 default => ' all',41 default => 'fatal', 42 42 callbacks => { 43 43 'is valid level' => sub { … … 61 61 62 62 # normalize log levels to lower-case 63 my $self = { log_level => lc $p{ log_level} };63 my $self = { trace => $LEVELS{lc($p{trace})} }; 64 64 65 65 bless $self, $class || ref $class;
Note:
See TracChangeset
for help on using the changeset viewer.
