refactor_loggers #1

Merged
medvedych merged 3 commits from refactor_loggers into master 2023-03-17 22:37:07 +03:00
4 changed files with 15 additions and 12 deletions
Showing only changes of commit c1172baf97 - Show all commits

4
.gitignore vendored
View file

@ -32,4 +32,6 @@ MYMETA.*
Log-Mini.iml Log-Mini.iml
Log-Mini.ipr Log-Mini.ipr
Log-Mini.iws Log-Mini.iws
.idea/

View file

@ -2,6 +2,9 @@ Revision history for Perl extension Log-Mini
{{$NEXT}} {{$NEXT}}
0.3.0 2023-03-17T19:35:35Z
- Adapter namespace changed
0.2.1 2019-04-18T20:57:59Z 0.2.1 2019-04-18T20:57:59Z
- Unused imports were removed - Unused imports were removed

View file

@ -4,7 +4,7 @@
"Denis Fedoseev <denis.fedoseev@gmail.com>" "Denis Fedoseev <denis.fedoseev@gmail.com>"
], ],
"dynamic_config" : 0, "dynamic_config" : 0,
"generated_by" : "Minilla/v3.1.4, CPAN::Meta::Converter version 2.150010", "generated_by" : "Minilla/v3.1.21, CPAN::Meta::Converter version 2.150010",
"license" : [ "license" : [
"perl_5" "perl_5"
], ],
@ -35,7 +35,7 @@
"requires" : { "requires" : {
"Test::CPAN::Meta" : "0", "Test::CPAN::Meta" : "0",
"Test::MinimumVersion::Fast" : "0.04", "Test::MinimumVersion::Fast" : "0.04",
"Test::PAUSE::Permissions" : "0.04", "Test::PAUSE::Permissions" : "0.07",
"Test::Pod" : "1.41", "Test::Pod" : "1.41",
"Test::Spellunker" : "v0.2.7" "Test::Spellunker" : "v0.2.7"
} }
@ -58,17 +58,15 @@
}, },
"release_status" : "unstable", "release_status" : "unstable",
"resources" : { "resources" : {
"bugtracker" : {
"web" : "https://github.com/alpha6/Log-Mini/issues"
},
"homepage" : "https://github.com/alpha6/Log-Mini",
"repository" : { "repository" : {
"type" : "git", "type" : "git",
"url" : "git://github.com/alpha6/Log-Mini.git", "url" : "ssh://git@git.whataco.de:2221/medvedych/Log-Mini.git"
"web" : "https://github.com/alpha6/Log-Mini"
} }
}, },
"version" : "0.2.1", "version" : "0.3.0",
"x_serialization_backend" : "JSON::PP version 2.93", "x_contributors" : [
"Denis Fedoseev <denis@fedoseev.work>"
],
"x_serialization_backend" : "JSON::PP version 4.07",
"x_static_install" : 1 "x_static_install" : 1
} }

View file

@ -25,7 +25,7 @@ Log::Mini - It's a very simple logger which can log your messages to a file or S
$logger->log('info', 'information message'); $logger->log('info', 'information message');
#Null logger - drops all messages to /dev/null #Null logger - drops all messages to /dev/null
my $logger = Log::Mini->new('null'); my $logger = Log::Mini->new('null);
$logger->error('Error message'); #Message will be dropped $logger->error('Error message'); #Message will be dropped
# DESCRIPTION # DESCRIPTION