SmartFrog 3.10.000

org.smartfrog.sfcore.logging
Interface LogAttributes


public interface LogAttributes

A simple interface to modify logging attributes for all subset of loggers when possible.


Method Summary
 boolean setAttribute(java.lang.Object name, java.lang.Object value)
           To change a property in all registered loggers
 boolean setDebug(boolean status)
           To change debug logging status
 boolean setError(boolean status)
           To change error logging status
 boolean setFatal(boolean status)
           To change fatal logging status
 boolean setInfo(boolean status)
           To change info logging status
 boolean setTrace(boolean status)
           To change trace logging status
 boolean setWarn(boolean status)
           To change warn logging status
 

Method Detail

setDebug

boolean setDebug(boolean status)

To change debug logging status

Parameters:
status - new status value
Returns:
previous status value

setError

boolean setError(boolean status)

To change error logging status

Parameters:
status - new status value
Returns:
previous status value

setFatal

boolean setFatal(boolean status)

To change fatal logging status

Parameters:
status - new status value
Returns:
previous status value

setInfo

boolean setInfo(boolean status)

To change info logging status

Parameters:
status - new status value
Returns:
previous status value

setTrace

boolean setTrace(boolean status)

To change trace logging status

Parameters:
status - new status value
Returns:
previous status value

setWarn

boolean setWarn(boolean status)

To change warn logging status

Parameters:
status - new status value
Returns:
previous status value

setAttribute

boolean setAttribute(java.lang.Object name,
                     java.lang.Object value)

To change a property in all registered loggers

Parameters:
name - attribute name
value - new status value
Returns:
if it was sucessfull applaying this attribute to any of the registered loggers

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP