]> diplodocus.org Git - minc/commitdiff
Drop Log::Dispatch (finally) and simplify logging.
authorepg <>
Sun, 11 Apr 2004 21:16:49 +0000 (21:16 +0000)
committerepg <>
Sun, 11 Apr 2004 21:16:49 +0000 (21:16 +0000)
Kill global constants LOG_DEBUGLEVEL, SCREEN_DEBUGLEVEL, DEBUGCHAR,
INFOCHAR, INCOMINGCHAR, SAVECHAR, WARNCHAR, ERRORCHAR.

Kill global $logger and functions logsave, loginfo, logdebug, logwarn,
logerr.

(mylog): Kill first two parameters; all @_ are now catenated for the
log message.  Simply open $logfile and write the timestamp and
message, no more.

(logheader): Renamed from logincoming.  Adapt to new mylog.

(log_headers): s/logincoming/logheader/

(store_message): Call mylog instead of logsave.


No differences found