E&S CVS Commit: PEAK - A very rough first pass at logfiles.

tsarna at eby-sarna.com tsarna at eby-sarna.com
Mon Nov 11 14:15:01 EST 2002

Module Name:	PEAK
Committed By:	tsarna
Date:		Mon Nov 11 19:14:10 UTC 2002

Modified Files:
	PEAK/src/peak/running: logs.py

Log Message:
A very rough first pass at logfiles.

 - changed ILogSink interface so that there is a .sink(event) method on
   the sink, rather than __call__. __call__ is slower than method calls,
   and also frees up __call__ for AppUtils-like direct-to-logger logging
   call, for cases where you want explicitly directed logging.

 - LogSink class, a base class for LogSinks / a black-hole sink itself

 - logfile URL and Logfile sink

To view diffs of this commit, you can use the following URL(s):

To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 PEAK/src/peak/running/logs.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

More information about the source-changes mailing list