Ignore:
Timestamp:
Jan 7, 2014, 6:02:20 PM (8 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
bf61c61
Parents:
f511c1e
git-author:
Jason Gross <jgross@mit.edu> (07/12/11 16:19:57)
git-committer:
Jason Gross <jgross@mit.edu> (01/07/14 18:02:20)
Message:
Moved the checking of whether or not to log messages to perl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perl/lib/BarnOwl/Message/Zephyr.pm

    rdca6255 r6e764aa  
    281281}
    282282
     283sub should_log {
     284    my ($m) = @_;
     285    if ($m->log_to_class_file) {
     286        return BarnOwl::getvar('classlogging') eq 'on';
     287    } else {
     288        return BarnOwl::getvar('logging') eq 'on';
     289    }
     290}
     291
    2832921;
Note: See TracChangeset for help on using the changeset viewer.