[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-smalltalk] Re: Logging facility for GNU-smalltalk
From: |
Paolo Bonzini |
Subject: |
[Help-smalltalk] Re: Logging facility for GNU-smalltalk |
Date: |
Thu, 09 Jul 2009 14:02:28 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Lightning/1.0pre Thunderbird/3.0b2 |
On 07/09/2009 01:50 PM, Joachim Jaeckel wrote:
Hi! Sorry for the delay in answering, I'm just back to the keyboard, but
only for a few minutes...
I now totaly agree, that a StreamOutputHandler is more than usefull.
That gives the user the possibility to handle his special needs beside
of that what is implemented in the current logger. - But even now, it
could be implemented and give it to the implementation of the logger as
the output-handler of a new "channel". But nevertheless, a
StreamOutputHandler should be contained in the logger. Even as a
superclass for File-output-handling and whatever.
That's the point -- the file-output handler is not a subclass, it's the
same StreamOutputHandler just that it is created with a different class
method that takes care of creating the FileStream.
> Logging (for me) should be a black box. I don't care, to what my
> logging is written and if I need a special action at the start/end of
> the logging. (e.g. opening/closing the log-file, Flushing the output
> or: writing the log as an html-file, you need some closing </body>
> </html> at the end of the log-file)
Agreed, that's the point of the output handler no? My idea of the class
hierarchy would be:
OutputHandler
StreamOutputHandler
TextOutputHandler
HTMLOutputHandler
SyslogOutputHandler
MultiplexOutputHandler
(Of course not everything needs to be there to include the logging in gst).
What do you think?
Paolo
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, (continued)
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/08
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/08
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/08
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Stefan Schmiedl, 2009/07/08
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/09
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/09
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/09
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/09
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/09
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/09
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk,
Paolo Bonzini <=
- Re: [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Stefan Schmiedl, 2009/07/09
- Re: [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/09
- Re: [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Göran Krampe, 2009/07/13
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/10
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/10
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Joachim Jaeckel, 2009/07/10
- [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Paolo Bonzini, 2009/07/10
- Re: [Help-smalltalk] Re: Logging facility for GNU-smalltalk, Stefan Schmiedl, 2009/07/09
- Re: [Help-smalltalk] Logging facility for GNU-smalltalk, Stefan Schmiedl, 2009/07/09
Re: [Help-smalltalk] Logging facility for GNU-smalltalk, vranyj1, 2009/07/09