org.norther.tammi.acorn.logger
Interface LogFactory

All Known Implementing Classes:
DefaultLogFactory

public interface LogFactory

An interface to log factories.

Version:
$Id: LogFactory.java,v 1.5 2009/09/28 15:08:50 cvsimp Exp $
Author:
Ilkka Priha

Method Summary
 Object getContext()
          Gets the log context.
 Log getInstance()
          Gets an anonymous log instance.
 Log getInstance(Object object)
          Gets an object log instance.
 void release()
          Releases cached instances.
 

Method Detail

getInstance

Log getInstance()
Gets an anonymous log instance.

Returns:
a log instance.

getInstance

Log getInstance(Object object)
Gets an object log instance.

Parameters:
object - the log object.
Returns:
a log instance.

getContext

Object getContext()
Gets the log context.

Returns:
the context.

release

void release()
Releases cached instances.



Copyright © 2004 The Norther Organization. All rights reserved.