File: Module.pm

package info (click to toggle)
liblog-contextual-perl 0.008001-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 340 kB
  • sloc: perl: 681; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
package My::Module;
use Log::Contextual::Easy::Default;

sub log {
   Dlog_fatal { $_ }
   DlogS_error { $_ }
   logS_warn { $_[0] }
   logS_info { $_[0] } log_debug { $_[0] } log_trace { $_[0] } 'xxx';
}

1;