lp:log-fine/handleemail
Branch for development of Log::Fine:
- Get this branch:
- bzr branch lp:log-fine/handleemail
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at https://github.com/cfuhrman/log-fine,branch=LOG-FINE-HANDLE-EMAIL.
Last successful import was .
Recent revisions
- 285. By Christopher M. Fuhrman
-
Merge branch 'LOG-FINE-
HANDLE- EMAIL' of https:/ /github. com/cfuhrman/ log-fine into LOG-FINE- HANDLE- EMAIL - 284. By Christopher M. Fuhrman
-
Add new handle, Log::Fine:
:Handle: :Email Add new handle, Log::Fine:
:Handle: :Email for the sending of log
messages via email and associated unit tests. Note that
Log::Fine::Handle: :Email requires use of the following modules: * Email::Sender[1]
* Mail::RFC822::Address[ 2] Email::Sender will require installation of a large number of
dependencies. Installation of this module via your operating system
package management system is _strongly_ encouraged to avoid issues and
the gnashing of the teeth.Also add my updated TODO items.
Footnotes:
[1] http://search. cpan.org/ ~rjbs/Email- Sender- 0.110001/ lib/Email/ Sender. pm [2] http://
search. cpan.org/ ~pdwarren/ Mail-RFC822- Address- 0.3/Address. pm - 283. By Christopher M. Fuhrman
-
Sync SYNOPSIS with reality
- A value representing all bitmasks bitor'd together can be gotten
from the Log::Fine::Levels: :*->bitmaskAll( ) method
- Import the appropriate modules - 282. By Christopher M. Fuhrman
-
Move isLoggable() regression tests to Log::Fine::Level::* tests
Move isLoggable() regression tests from Log::Fine::Handle tests to
Log::Fine::Level::* unit tests. This provides more comprehensive
testing of Level/Mask combinations. - 280. By Christopher M. Fuhrman
-
Optimize methods for speed
Optimize methods for speed where applicable by reducing unnecessary
shift calls. Also, be consistent with perl statements - 277. By Christopher M. Fuhrman
-
When getting the group IDs, be sure to use the FIRST value returned
When getting the list of group IDs, be sure to use the FIRST value
returned as $( and $) will both return more than one value.From the perlvar(1) man page:
$( The real gid of this process. If you are on a machine that supports membership in multiple groups simultaneously, gives a space
separated list of groups you are in. The first number is the one returned by getgid(), and the subsequent ones by getgroups(), one of
which may be the same as the first number. $) The effective gid of this process. If you are on a machine that supports membership in multiple groups simultaneously, gives a space
separated list of groups you are in. The first number is the one returned by getegid(), and the subsequent ones by getgroups(), one
of which may be the same as the first number.Update unit tests accordingly.
This commit addresses the following CPAN reports:
* http://
www.cpantesters .org/cpan/ report/ 39bae440- b293-11e0- a3e4-843406199d fa
* http://www.cpantesters .org/cpan/ report/ 0c50e20c- b211-11e0- 8bf3-b951607028 a9
* http://www.cpantesters .org/cpan/ report/ f30cba6e- ad92-11e0- b021-a870e3db07 b5
* http://www.cpantesters .org/cpan/ report/ 2899311e- ad69-11e0- a3e4-76a7cce5fa d6
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)