Ignore:
Timestamp:
Jan 7, 2014, 6:02:20 PM (8 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
023f405
Parents:
6e764aa
git-author:
Jason Gross <jgross@mit.edu> (07/12/11 17:10:09)
git-committer:
Jason Gross <jgross@mit.edu> (01/07/14 18:02:20)
Message:
Moved notification of message logging to perl
File:
1 edited

Legend:

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

    r6e764aa rbf61c61  
    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.