Package org.exoplatform.services.log
Interface ExoLogFactory
-
- All Known Implementing Classes:
AbstractExoLogFactory,SimpleExoLogFactory,SLF4JExoLogFactory
public interface ExoLogFactoryThis factory garantees the plugability of the logging system.- Version:
- $Id: ExoLogFactory.java 34394 2009-07-23 09:23:31Z dkatayev $
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LoggetExoLogger(Class clazz)Obtain a logger for the specified name.LoggetExoLogger(String name)Obtain a logger for the specified name.
-
-
-
Method Detail
-
getExoLogger
Log getExoLogger(String name) throws NullPointerException
Obtain a logger for the specified name.- Parameters:
name- the logger name- Returns:
- the logger
- Throws:
NullPointerException- if the name is null
-
getExoLogger
Log getExoLogger(Class clazz) throws NullPointerException
Obtain a logger for the specified name.- Parameters:
clazz- the logger name- Returns:
- the logger
- Throws:
NullPointerException- if the name is null
-
-