Changeset 4ead7b3 for perl


Ignore:
Timestamp:
Aug 16, 2017, 12:53:41 PM (7 years ago)
Author:
Jason Gross <jasongross9@gmail.com>
Branches:
master
Children:
42779f8
Parents:
5093c6f
git-author:
Jason Gross <jgross@mit.edu> (07/12/11 17:10:09)
git-committer:
Jason Gross <jasongross9@gmail.com> (08/16/17 12:53:41)
Message:
Moved notification of message logging to perl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Logging.pm

    r5093c6f r4ead7b3  
    3333
    3434use File::Spec;
     35
     36$BarnOwl::Hooks::newMessage->add("BarnOwl::Logging::log");
    3537
    3638=head2 sanitize_filename BASE_PATH FILENAME
     
    116118sub log {
    117119    my ($m) = @_;
     120    return unless defined $m;
    118121    return unless BarnOwl::Logging::should_log_message($m);
    119122    my $log_text = $m->log;
Note: See TracChangeset for help on using the changeset viewer.