pl.edu.icm.yadda.service2.user.log
Class StdOutMigrationLogger

java.lang.Object
  extended by pl.edu.icm.yadda.service2.user.log.StdOutMigrationLogger
All Implemented Interfaces:
MigrationLogger

public class StdOutMigrationLogger
extends java.lang.Object
implements MigrationLogger

Prints out migration log entry on standard output.

Author:
mhorst

Nested Class Summary
 
Nested classes/interfaces inherited from interface pl.edu.icm.yadda.service2.user.log.MigrationLogger
MigrationLogger.Status, MigrationLogger.Type
 
Constructor Summary
StdOutMigrationLogger()
           
 
Method Summary
 void close()
          Finalizes logging.
 void init()
          Initializes logging.
 void log(MigrationLogger.Type type, MigrationLogger.Status status, java.lang.String id, java.lang.String msg, java.lang.String... auxParams)
          Loggs single entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdOutMigrationLogger

public StdOutMigrationLogger()
Method Detail

init

public void init()
Description copied from interface: MigrationLogger
Initializes logging.

Specified by:
init in interface MigrationLogger

log

public void log(MigrationLogger.Type type,
                MigrationLogger.Status status,
                java.lang.String id,
                java.lang.String msg,
                java.lang.String... auxParams)
Description copied from interface: MigrationLogger
Loggs single entry.

Specified by:
log in interface MigrationLogger

close

public void close()
Description copied from interface: MigrationLogger
Finalizes logging.

Specified by:
close in interface MigrationLogger


Copyright © 2002-2012 ICM, Warsaw University. All Rights Reserved.