7 our @EXPORT = qw(&flog &tlog &logEscape &tulog);
9 checkConf( [ 'logfile' ] );
13 open LOG, '>>'.$config{'logfile'} or die "Could not open log file\n";
21 flog( "$time: $text" );
25 my( $user, $text ) = @_;
26 tlog( "User $user: $text" );
31 return "''" unless defined $text;
32 $text =~ s/(['"\\])/\\$1/g;