$_[1]->();
}
+
+
sub log_trace (&@) {
my $log = $Get_Logger->();
my $code = shift;
} @values
}
+sub Dlog_debug (&@) {
+ my $code = shift;
+ my @values = @_;
+ log_debug {
+ do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
+ } @values
+}
+
+sub Dlog_info (&@) {
+ my $code = shift;
+ my @values = @_;
+ log_info {
+ do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
+ } @values
+}
+
+sub Dlog_warn (&@) {
+ my $code = shift;
+ my @values = @_;
+ log_warn {
+ do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
+ } @values
+}
+
+sub Dlog_error (&@) {
+ my $code = shift;
+ my @values = @_;
+ log_error {
+ do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
+ } @values
+}
+
+sub Dlog_fatal (&@) {
+ my $code = shift;
+ my @values = @_;
+ log_fatal {
+ do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
+ } @values
+}
+
+
+
sub DlogS_trace (&$) {
my $code = $_[0];
my $value = $_[1];
$value
}
-sub Dlog_debug (&@) {
- my $code = shift;
- my @values = @_;
- log_debug {
- do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
- } @values
-}
-
sub DlogS_debug (&$) {
my $code = $_[0];
my $value = $_[1];
$value
}
-sub Dlog_info (&@) {
- my $code = shift;
- my @values = @_;
- log_info {
- do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
- } @values
-}
-
sub DlogS_info (&$) {
my $code = $_[0];
my $value = $_[1];
$value
}
-sub Dlog_warn (&@) {
- my $code = shift;
- my @values = @_;
- log_warn {
- do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
- } @values
-}
-
sub DlogS_warn (&$) {
my $code = $_[0];
my $value = $_[1];
$value
}
-sub Dlog_error (&@) {
- my $code = shift;
- my @values = @_;
- log_error {
- do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
- } @values
-}
-
sub DlogS_error (&$) {
my $code = $_[0];
my $value = $_[1];
$value
}
-sub Dlog_fatal (&@) {
- my $code = shift;
- my @values = @_;
- log_fatal {
- do { local $_ = Data::Dumper::Concise::Dumper @values; $code->() };
- } @values
-}
-
sub DlogS_fatal (&$) {
my $code = $_[0];
my $value = $_[1];