***  This class provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.logging.util
Class LoggerHandler

com.sas.services.logging.util.LoggerHandler

Deprecated. use log4j directly

public class LoggerHandler

A utility class that makes a com.sas.services.logging.LoggerInterface look like a java.util.logging.Logger.


Constructor Summary
LoggerHandler(LoggerInterface logger)
          Deprecated. Contruct a java.util.logging.Handler subclass that writes messages to a com.sas.services.logging.LoggerInterface.
LoggerHandler(LoggerInterface logger, java.util.logging.Formatter formatter)
          Deprecated.  
LoggerHandler(LoggerInterface logger, java.util.logging.Formatter formatter, java.lang.String loggingContext)
          Deprecated.  
 
Method Summary
 void close()
          Deprecated.  
 void flush()
          Deprecated.  
 java.util.logging.Formatter getFormatter()
          Deprecated.  
 java.util.logging.Level getLevel()
          Deprecated.  
 java.lang.String getLoggingContext()
          Deprecated.  
 void publish(java.util.logging.LogRecord logRecord)
          Deprecated.  
 void setFormatter(java.util.logging.Formatter newFormatter)
          Deprecated.  
 void setLevel(java.util.logging.Level level)
          Deprecated.  
 void setLoggingContext(java.lang.String loggingContext)
          Deprecated.  
 

Constructor Detail

LoggerHandler

public LoggerHandler(LoggerInterface logger)
Deprecated. 
Contruct a java.util.logging.Handler subclass that writes messages to a com.sas.services.logging.LoggerInterface.

Parameters:
logger - the com.sas.services.logging.LoggerInterface to write to.

LoggerHandler

public LoggerHandler(LoggerInterface logger,
                     java.util.logging.Formatter formatter)
Deprecated. 

LoggerHandler

public LoggerHandler(LoggerInterface logger,
                     java.util.logging.Formatter formatter,
                     java.lang.String loggingContext)
Deprecated. 
Method Detail

close

public void close()
Deprecated. 
Specified by:
close in class java.util.logging.Handler

flush

public void flush()
Deprecated. 
Specified by:
flush in class java.util.logging.Handler

publish

public void publish(java.util.logging.LogRecord logRecord)
Deprecated. 
Specified by:
publish in class java.util.logging.Handler

setLevel

public void setLevel(java.util.logging.Level level)
Deprecated. 
Overrides:
setLevel in class java.util.logging.Handler

getLevel

public java.util.logging.Level getLevel()
Deprecated. 
Overrides:
getLevel in class java.util.logging.Handler

setFormatter

public void setFormatter(java.util.logging.Formatter newFormatter)
Deprecated. 
Overrides:
setFormatter in class java.util.logging.Handler

getFormatter

public java.util.logging.Formatter getFormatter()
Deprecated. 
Overrides:
getFormatter in class java.util.logging.Handler

setLoggingContext

public void setLoggingContext(java.lang.String loggingContext)
Deprecated. 

getLoggingContext

public java.lang.String getLoggingContext()
Deprecated. 

***  This class provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.