Version: 1.1.1

org.biomoby.registry.sync.logging
Class MobySecondaryLogging

java.lang.Object
  extended by org.biomoby.registry.sync.logging.MobySecondaryLogging

public class MobySecondaryLogging
extends Object

Class to initialise the logger.

Author:
groscurt

Field Summary
static String LOGGER_NAME
           
 
Method Summary
static void initLogger(String logFilepath, String level)
          Inits the logger.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER_NAME

public static final String LOGGER_NAME
See Also:
Constant Field Values
Method Detail

initLogger

public static void initLogger(String logFilepath,
                              String level)
                       throws IOException
Inits the logger. The log file is stored in the given logpath and has the following structure:

MobySecondaryLog-mmdd-yy-hh_mm

Parameters:
logFilepath - the path where the logfiles are stored
level - the log level (info, warning, severe)
Throws:
IOException - whether the initialisation of the logger failed

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010