X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=scpubgit%2FObject-Remote.git;a=blobdiff_plain;f=lib%2FObject%2FRemote%2FLogging.pm;h=840458b620bd849a05041639d75d6c6dc649e06d;hp=5901b0c85db7b5e849fed82a3f07a2b81236e1f0;hb=ecbca5dea77bef08e032b491bbf184f2ad2f3284;hpb=f048e6dfeaefce08546e91cc9d4bf79492d7ca0d diff --git a/lib/Object/Remote/Logging.pm b/lib/Object/Remote/Logging.pm index 5901b0c..840458b 100644 --- a/lib/Object/Remote/Logging.pm +++ b/lib/Object/Remote/Logging.pm @@ -105,14 +105,6 @@ sub init_logging { my $selections = $ENV{OBJECT_REMOTE_LOG_SELECTIONS}; my %controller_should_log; - #TODO how can a third party module perform an action when a new - #interpreter is built on a remote node with out requiring support - #for that third party module baked into object::remote? - eval { - require Log::Any::Adapter; - Log::Any::Adapter->set('+Object::Remote::Logging::LogAnyInjector'); - }; - return unless defined $level; $format = "[%l %r] %s" unless defined $format; $selections = __PACKAGE__ unless defined $selections; @@ -281,8 +273,8 @@ value will default to 1 or can be specified as an argument. =head1 LEVEL NAMES -Object::Remote uses an ordered list of log level names with the minimum level -first and the maximum level last. The list of level names can be accessed via +Object::Remote uses an ordered list of log level names with the lowest level +first and the highest level last. The list of level names can be accessed via the arg_levels method which is exportable to the consumer of this class. The log level names are: