org.eclipse.birt.data.oda.util.manifest
Class TraceLogging

java.lang.Object
  extended byorg.eclipse.birt.data.oda.util.manifest.TraceLogging

Deprecated. As of BIRT 2.0, replaced by org.eclipse.datatools.connectivity.oda.util.manifest.TraceLogging .
The BIRT ODA run-time framework has been migrated to the Eclipse Data Tools Platform (DTP) project.

public class TraceLogging
extends java.lang.Object

Configuration of the driver's trace logging settings for a data source extension.


Method Summary
 java.lang.String getLogDirectory()
          Deprecated. Returns the optional directory for log files.
 java.lang.String getLogFileNamePrefix()
          Deprecated. Returns the string prefix for driver's log file names.
 java.lang.String getLogFormatterClass()
          Deprecated. Returns the optional driver's concrete implementation of the org.eclipse.birt.data.oda.util.logging.LogFormatter class.
 int getLogLevel()
          Deprecated. Returns the value for the driver's log level, as defined in org.eclipse.birt.data.oda.util.logging.Level.
static int toLogLevelNumber(java.lang.String logLevelName)
          Deprecated. Converts a string that represents a log level name or numeric value to a number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogLevel

public int getLogLevel()
Deprecated. 
Returns the value for the driver's log level, as defined in org.eclipse.birt.data.oda.util.logging.Level.

Returns:
the log level.

getLogFileNamePrefix

public java.lang.String getLogFileNamePrefix()
Deprecated. 
Returns the string prefix for driver's log file names.

Returns:
the log file name prefix.

getLogDirectory

public java.lang.String getLogDirectory()
Deprecated. 
Returns the optional directory for log files.

Returns:
the log directory, or null if a log directory was not specified.

getLogFormatterClass

public java.lang.String getLogFormatterClass()
Deprecated. 
Returns the optional driver's concrete implementation of the org.eclipse.birt.data.oda.util.logging.LogFormatter class.

Returns:
the fully qualified class name for the log formatter class, or null if the class was not specified.

toLogLevelNumber

public static int toLogLevelNumber(java.lang.String logLevelName)
Deprecated. 
Converts a string that represents a log level name or numeric value to a number. Returns the default WARNING log level if given string value is null or not valid.

Parameters:
logLevelName - A string that represents a log level name or numeric value.
Returns:
A log level number.


Copyright © 2005 Actuate Corp. All rights reserved.