projects
/
p5sagit/Log-Contextual.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
added Log::Contextual::Easy for zero-config usage
[p5sagit/Log-Contextual.git]
/
t
/
lib
/
My
/
Module.pm
1
package My::Module;
2
use Log::Contextual::Easy;
3
4
sub log {
5
Dlog_fatal { $_ }
6
DlogS_error { $_ }
7
logS_warn { $_[0] }
8
logS_info { $_[0] }
9
log_debug { $_[0] }
10
log_trace { $_[0] } 'xxx';
11
}
12
13
1;