org.csc.phynixx.loggersystem.logger
Interface IDataLoggerFactory

All Known Implementing Classes:
FileChannelDataLoggerFactory

public interface IDataLoggerFactory


Method Summary
 void cleanup()
          Destroys all Logger of the logerSystem
 void destroyLogger(String loggerName)
          destroys the logger an all is associated resources an information
 Set<String> findLoggerNames()
           
 String getLoggerSystemName()
           
 IDataLogger instanciateLogger(String loggerName)
          open the logger with mode AccessMode.APPEND
 IDataLogger instanciateLogger(String loggerName, AccessMode accessMode)
           
 

Method Detail

getLoggerSystemName

String getLoggerSystemName()

instanciateLogger

IDataLogger instanciateLogger(String loggerName)
                              throws IOException
open the logger with mode AccessMode.APPEND

Parameters:
loggerName - unique Identifier of the logger (concering the logger system)
Returns:
logger
Throws:
IOException

instanciateLogger

IDataLogger instanciateLogger(String loggerName,
                              AccessMode accessMode)
                              throws IOException
Parameters:
loggerName - unique Identifier of the logger (concering the logger system)
Returns:
logger
Throws:
IOException

cleanup

void cleanup()
Destroys all Logger of the logerSystem


destroyLogger

void destroyLogger(String loggerName)
destroys the logger an all is associated resources an information


findLoggerNames

Set<String> findLoggerNames()
                            throws IOException
Returns:
the loggernames of all loggers of the logger system
Throws:
IOException


Copyright © 2015. All rights reserved.