Ignore:
Timestamp:
Aug 5, 2017, 11:23:05 PM (7 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
145cabe
Parents:
cd6521f
git-author:
Jason Gross <jgross@mit.edu> (07/12/11 16:19:57)
git-committer:
Jason Gross <jgross@mit.edu> (08/05/17 23:23:05)
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

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