org.ow2.util.log.impl.osgi
Class LoggerService

java.lang.Object
  extended by org.ow2.util.log.impl.osgi.LoggerService
All Implemented Interfaces:
org.osgi.service.log.LogService

public class LoggerService
extends Object
implements org.osgi.service.log.LogService

Basic implementation of the OSGi LogService.

Author:
Francois Fornaciari

Field Summary
 
Fields inherited from interface org.osgi.service.log.LogService
LOG_DEBUG, LOG_ERROR, LOG_INFO, LOG_WARNING
 
Constructor Summary
LoggerService()
           
 
Method Summary
 void log(int level, String message)
          
 void log(int level, String message, Throwable exception)
          
 void log(org.osgi.framework.ServiceReference sr, int level, String message)
          
 void log(org.osgi.framework.ServiceReference sr, int level, String message, Throwable exception)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggerService

public LoggerService()
Method Detail

log

public void log(int level,
                String message)

Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(int level,
                String message,
                Throwable exception)

Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(org.osgi.framework.ServiceReference sr,
                int level,
                String message)

Specified by:
log in interface org.osgi.service.log.LogService

log

public void log(org.osgi.framework.ServiceReference sr,
                int level,
                String message,
                Throwable exception)

Specified by:
log in interface org.osgi.service.log.LogService


Copyright © 2007-2011 OW2 Consortium. All Rights Reserved.