]> diplodocus.org Git - minc/commit
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)
commit2ef74b018653979ae971a001507ae845ebe373e4
treef8a9941666f8582dfeb9761196a090920c1be9a9
parentcf3b28b73d3290251efa6f76ca72be2a50bd5e76
Drop Log::Dispatch (finally) and simplify logging.

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.
minc