Oracle® Collaboration Suite Workspaces API Reference
10g Release 1 (10.1.2)

B25479-01


oracle.workspaces.util.log
Class CwLoggerFactory

java.lang.Object
  extended byoracle.workspaces.util.log.CwLoggerFactory


public class CwLoggerFactory
extends java.lang.Object
Since:
release specific (what release of product did this appear in)

Constructor Summary
CwLoggerFactory()

Method Summary
static CwLogger createLogger(java.lang.String callerID)
Create a default logger SimpleCwLogger instance.
static int getLoggingLevel()
Get the logging level
static LogHandler getLogHandler()
Get the default handler which will be shared by all logger instances
static void setLoggingLevel(int loggingLevel)
This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL
static void setLoggingLevel(java.lang.String szLogLevel)
This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL
static void setLogHandler(LogHandler logHandler)
Set the default handler which will be shared by all logger instances

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CwLoggerFactory

public CwLoggerFactory()

Method Detail

createLogger

public static CwLogger createLogger(java.lang.String callerID)
Create a default logger SimpleCwLogger instance.
Parameters:
callerID - string used to differentiate log between classes

getLoggingLevel

public static int getLoggingLevel()
Get the logging level

getLogHandler

public static LogHandler getLogHandler()
Get the default handler which will be shared by all logger instances

setLoggingLevel

public static void setLoggingLevel(int loggingLevel)
This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL
Parameters:
loggingLevel - The logging level as an int

setLoggingLevel

public static void setLoggingLevel(java.lang.String szLogLevel)
This method should be invoked before the call of createLogger the logging level universally applies to all logger instances generated by the logger factory By default the logging level is set to be I_WARN_LEVEL
Parameters:
szLogLevel - The logging level as a string

setLogHandler

public static void setLogHandler(LogHandler logHandler)
Set the default handler which will be shared by all logger instances

Copyright © 2001, 2005, Oracle. All rights reserved.