initial Log4perl commit
Arthur Axel 'fREW' Schmidt [Wed, 3 Mar 2010 00:05:19 +0000 (18:05 -0600)]
lib/Log/Contextual.pm
lib/Log/Contextual/Log4perl.pm [new file with mode: 0644]

index 7a9349a..3d8d5b2 100644 (file)
@@ -1,7 +1,4 @@
 # add example for Log::Dispatchouli
-# make wrapper for Log::Log4perl that fixes callstack:
-#   < mst> sub debug { local $Log::Log4perl::caller_depth =
-#          $Log::Log4perl::caller_depth + 3; shift->{l4p}->debug(@_) }
 #
 #   default logger stuff
 #   < mst> there are two cases
diff --git a/lib/Log/Contextual/Log4perl.pm b/lib/Log/Contextual/Log4perl.pm
new file mode 100644 (file)
index 0000000..c4828db
--- /dev/null
@@ -0,0 +1,15 @@
+# make wrapper for Log::Log4perl that fixes callstack:
+#   < mst> sub debug { local $Log::Log4perl::caller_depth =
+#          $Log::Log4perl::caller_depth + 3; shift->{l4p}->debug(@_) }
+package Log::Contextual::Log4perl;
+
+1;
+
+__END__
+
+=head1 NAME
+
+Log::Contextual::Log4perl - wrapper to fix callstack for Log::Log4perl::Logger
+
+=cut
+