Changeset 145cabe for perl


Ignore:
Timestamp:
Aug 5, 2017, 11:23:06 PM (7 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
8190ce8
Parents:
18c1925
git-author:
Jason Gross <jgross@mit.edu> (07/12/11 17:10:09)
git-committer:
Jason Gross <jgross@mit.edu> (08/05/17 23:23:06)
Message:
Moved notification of message logging to perl
File:
1 edited

Legend:

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

    r18c1925 r145cabe  
    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.