com.tekann.codegen.pda.util
Class TKNLogger

java.lang.Object
  extended by com.tekann.codegen.pda.util.TKNLogger
All Implemented Interfaces:
ILogger

public class TKNLogger
extends java.lang.Object
implements ILogger

Class used to log to a File each desired note.

Author:
gfrantz

Field Summary
 boolean genLitebaseLog
          Setting to true it is possible to generate the litebase log.
 boolean genTKNMSLog
          Setting to true the TKN Mobile Studio log will be active.
 
Method Summary
 void appendMessage(java.lang.String logLine)
          Appends a message to the log.
static TKNLogger getInstance()
          Gets the instance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

genLitebaseLog

public boolean genLitebaseLog
Setting to true it is possible to generate the litebase log.


genTKNMSLog

public boolean genTKNMSLog
Setting to true the TKN Mobile Studio log will be active.

Method Detail

getInstance

public static TKNLogger getInstance()
Gets the instance

Returns:
The instance

appendMessage

public void appendMessage(java.lang.String logLine)
Appends a message to the log. Actually it uses the Vm.debug printing the passed logLine and a time stamp. This way it will record a line in the DebugConsole.txt file.

Specified by:
appendMessage in interface ILogger