Compoze Software, Inc.

com.compoze.util.log
Class SystemLog


java.lang.Object

  |

  +--java.io.OutputStream

        |

        +--java.io.FilterOutputStream

              |

              +--java.io.PrintStream

                    |

                    +--com.compoze.util.log.LogStream

                          |

                          +--com.compoze.util.log.SystemLog

All Implemented Interfaces:
ILogLevel, java.io.Serializable

public class SystemLog
extends LogStream
implements java.io.Serializable

This class implements a system-wide log. The factory (ILogStreamFactory) for creating the log is determined first by checking the property com.compoze.logfactory in CompozeProperties, then by defaulting to the DefaultLogFactory if it is not found.

See Also:
Serialized Form

Inner classes inherited from class com.compoze.util.log.LogStream
LogStream.ForceLevelStream
 
Fields inherited from class java.io.FilterOutputStream
out
 
Fields inherited from interface com.compoze.util.log.ILogLevel
DEBUG, DISABLED, ERROR, INFO, WARNING
 
Method Summary
static LogStream i()
          Gets an instance of the log.
static LogStream i(boolean bForceDefault)
          Gets an instance of the log.
static void main(java.lang.String[] args)
          Exerciser.
 
Methods inherited from class com.compoze.util.log.LogStream
dumpStack, dumpStack, getDefaultLevel, getIdentifier, getLevel, getPrefix, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, print, printDebug, printError, printInfo, println, println, println, println, println, println, println, println, println, println, println, println, println, println, println, println, println, println, printStackTrace, printStackTrace, printWarning, setDefaultLevel, setIdentifier, setLevel
 
Methods inherited from class java.io.PrintStream
checkError, close, flush, print, println, println, setError, write, write
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

i


public static LogStream i()
Gets an instance of the log.
Returns:
the new instance of the log

i


public static LogStream i(boolean bForceDefault)
Gets an instance of the log.
Parameters:
bForceDefault - if true, force to the default log
Returns:
the new instance of the log

main


public static void main(java.lang.String[] args)
Exerciser.
Parameters:
args - arguments (none taken)

Compoze Software, Inc.

Copyright ©1999-2001 Compoze Software, Inc. All rights reserved.