ome.services.blitz.util
Class CommonsLoggingAdapter

java.lang.Object
  extended by ome.services.blitz.util.CommonsLoggingAdapter
All Implemented Interfaces:
Ice._LoggerOperationsNC, Ice.Logger

public class CommonsLoggingAdapter
extends Object
implements Ice.Logger

A simple Adapter to have the ICE runtime log to our log file.

Since:
OME2.2
Version:
2.2 (Internal version: $Revision: 1.1 $ $Date: 2005/06/20 09:46:34 $)
Author:
Jean-Marie Burel      j.burel@dundee.ac.uk,
Andrea Falconi      a.falconi@dundee.ac.uk

Constructor Summary
CommonsLoggingAdapter(org.apache.commons.logging.Log logger)
           
 
Method Summary
 void error(String message)
           
 void print(String message)
           
 void trace(String category, String message)
           
 void warning(String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonsLoggingAdapter

public CommonsLoggingAdapter(org.apache.commons.logging.Log logger)
Method Detail

error

public void error(String message)
Specified by:
error in interface Ice._LoggerOperationsNC

print

public void print(String message)
Specified by:
print in interface Ice._LoggerOperationsNC

trace

public void trace(String category,
                  String message)
Specified by:
trace in interface Ice._LoggerOperationsNC

warning

public void warning(String message)
Specified by:
warning in interface Ice._LoggerOperationsNC


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.