SAP NetWeaver '04

com.sapportals.wcm.util.log
Class Category

[contained in: com.sap.netweaver.bc.util.par - bc.util.public_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.util.log.Category
All Implemented Interfaces:
ICategory

Deprecated. as of NW04. Please use the standard logging instead.

public class Category
extends java.lang.Object
implements ICategory

Class wrapping a standard logging location.


Fields inherited from interface com.sapportals.wcm.util.log.ICategory
LEVEL_ALL, LEVEL_DEBUG, LEVEL_ERROR, LEVEL_FATAL, LEVEL_INFO, LEVEL_WARN
 
Method Summary
 void assertNotNull(java.lang.Object message, java.lang.Object test)
          Deprecated. as of NW04. Please use the standard logging instead.
 void assertTrue(java.lang.Object message, boolean test)
          Deprecated. as of NW04. Please use the standard logging instead.
 void debug(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void debug(java.lang.Object message, java.lang.Throwable throwable)
          Deprecated. as of NW04. Please use the standard logging instead.
 void debugStack(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void error(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void error(java.lang.Object message, java.lang.Throwable throwable)
          Deprecated. as of NW04. Please use the standard logging instead.
 void errorStack(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void fatal(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void fatal(java.lang.Object message, java.lang.Throwable throwable)
          Deprecated. as of NW04. Please use the standard logging instead.
static Category getInstance(java.lang.Class module)
          Deprecated. as of NW04. Please use the standard logging instead.
static Category getInstance(java.lang.String module)
          Deprecated. as of NW04. Please use the standard logging instead.
 java.lang.String getName()
          Deprecated. as of NW04. Please use the standard logging instead.
 void info(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void info(java.lang.Object message, java.lang.Throwable throwable)
          Deprecated. as of NW04. Please use the standard logging instead.
 boolean isDebugEnabled()
          Deprecated. as of NW04. Please use the standard logging instead.
 boolean isErrorEnabled()
          Deprecated. as of NW04. Please use the standard logging instead.
 boolean isFatalEnabled()
          Deprecated. as of NW04. Please use the standard logging instead.
 boolean isInfoEnabled()
          Deprecated. as of NW04. Please use the standard logging instead.
 boolean isWarnEnabled()
          Deprecated. as of NW04. Please use the standard logging instead.
static void setAllLogMasks(int mask)
          Deprecated. as of NW04. Please use the standard logging instead.
static void setDefaultLogMask(int mask)
          Deprecated. as of NW04. Please use the standard logging instead.
static void setDefaultLogMask(java.lang.String module, int mask)
          Deprecated. as of NW04. Please use the standard logging instead.
static void setLogDirectory(java.lang.String directory)
          Deprecated. as of NW04. Please use the standard logging instead.
 void setLogMask(int mask)
          Deprecated. as of NW04. Please use the standard logging instead.
 void warn(java.lang.Object message)
          Deprecated. as of NW04. Please use the standard logging instead.
 void warn(java.lang.Object message, java.lang.Throwable throwable)
          Deprecated. as of NW04. Please use the standard logging instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Deprecated. as of NW04. Please use the standard logging instead.

Get name of internal location.
Returns:
name of internal location

isFatalEnabled

public final boolean isFatalEnabled()
Deprecated. as of NW04. Please use the standard logging instead.

Get the FatalEnabled attribute of the Category object.
Specified by:
isFatalEnabled in interface ICategory
Returns:
The FatalEnabled value

isErrorEnabled

public final boolean isErrorEnabled()
Deprecated. as of NW04. Please use the standard logging instead.

Get the ErrorEnabled attribute of the Category object.
Specified by:
isErrorEnabled in interface ICategory
Returns:
The ErrorEnabled value

isWarnEnabled

public final boolean isWarnEnabled()
Deprecated. as of NW04. Please use the standard logging instead.

Get the WarnEnabled attribute of the Category object.
Specified by:
isWarnEnabled in interface ICategory
Returns:
The WarnEnabled value

isInfoEnabled

public final boolean isInfoEnabled()
Deprecated. as of NW04. Please use the standard logging instead.

Get the InfoEnabled attribute of the Category object.
Specified by:
isInfoEnabled in interface ICategory
Returns:
The InfoEnabled value

isDebugEnabled

public final boolean isDebugEnabled()
Deprecated. as of NW04. Please use the standard logging instead.

Get the DebugEnabled attribute of the Category object.
Specified by:
isDebugEnabled in interface ICategory
Returns:
The DebugEnabled value

fatal

public final void fatal(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
fatal in interface ICategory
Parameters:
message -  

fatal

public final void fatal(java.lang.Object message,
                        java.lang.Throwable throwable)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
fatal in interface ICategory
Parameters:
message -  
throwable -  

error

public final void error(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
error in interface ICategory
Parameters:
message -  

error

public final void error(java.lang.Object message,
                        java.lang.Throwable throwable)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
error in interface ICategory
Parameters:
message -  
throwable -  

errorStack

public final void errorStack(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
errorStack in interface ICategory
Parameters:
message -  

warn

public void warn(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
warn in interface ICategory
Parameters:
message -  

warn

public void warn(java.lang.Object message,
                 java.lang.Throwable throwable)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
warn in interface ICategory
Parameters:
message -  
throwable -  

info

public final void info(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
info in interface ICategory
Parameters:
message -  

info

public void info(java.lang.Object message,
                 java.lang.Throwable throwable)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
info in interface ICategory
Parameters:
message -  
throwable -  

debug

public void debug(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
debug in interface ICategory
Parameters:
message -  

debugStack

public void debugStack(java.lang.Object message)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
debugStack in interface ICategory
Parameters:
message -  

debug

public final void debug(java.lang.Object message,
                        java.lang.Throwable throwable)
Deprecated. as of NW04. Please use the standard logging instead.

Specified by:
debug in interface ICategory
Parameters:
message -  
throwable -  

assertNotNull

public final void assertNotNull(java.lang.Object message,
                                java.lang.Object test)
Deprecated. as of NW04. Please use the standard logging instead.

Asserts that an object isn't null. Otherwise an error message will be printed.
Specified by:
assertNotNull in interface ICategory
Parameters:
message - TBD: Description of the incoming method parameter
test - TBD: Description of the incoming method parameter

assertTrue

public final void assertTrue(java.lang.Object message,
                             boolean test)
Deprecated. as of NW04. Please use the standard logging instead.

Asserts that a boolean isn't false. Otherwise an error message will be printed.
Specified by:
assertTrue in interface ICategory
Parameters:
message - TBD: Description of the incoming method parameter
test - TBD: Description of the incoming method parameter

setLogMask

public final void setLogMask(int mask)
Deprecated. as of NW04. Please use the standard logging instead.

Set the LogMask attribute of the Category object. This methid call will be ignored!
Specified by:
setLogMask in interface ICategory
Parameters:
mask - The new LogMask value

setDefaultLogMask

public static final void setDefaultLogMask(int mask)
Deprecated. as of NW04. Please use the standard logging instead.

Set the DefaultLogMask attribute of the Category class. This methid call will be ignored!
Parameters:
mask - The new DefaultLogMask value

setDefaultLogMask

public static final void setDefaultLogMask(java.lang.String module,
                                           int mask)
Deprecated. as of NW04. Please use the standard logging instead.

Set the DefaultLogMask attribute of the Category class. This methid call will be ignored!
Parameters:
module - defaultLogMask to be set
mask - defaultLogMask to be set

setLogDirectory

public static final void setLogDirectory(java.lang.String directory)
Deprecated. as of NW04. Please use the standard logging instead.

Set the LogDirectory attribute of the Category class. This methid call will be ignored!
Parameters:
directory - logDirectory to be set

setAllLogMasks

public static final void setAllLogMasks(int mask)
Deprecated. as of NW04. Please use the standard logging instead.

Set the AllLogMasks attribute of the Category class. This methid call will be ignored!
Parameters:
mask - allLogMasks to be set

getInstance

public static final Category getInstance(java.lang.String module)
Deprecated. as of NW04. Please use the standard logging instead.

Get the Instance attribute of the Category class.
Parameters:
module - TBD: Description of the incoming method parameter
Returns:
instance

getInstance

public static final Category getInstance(java.lang.Class module)
Deprecated. as of NW04. Please use the standard logging instead.

Get the Instance attribute of the Category class.
Parameters:
module - TBD: Description of the incoming method parameter
Returns:
instance

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.