evaHelper
Class EvaLogger

java.lang.Object
  extended by evaHelper.EvaLogger

public class EvaLogger
extends java.lang.Object

This class should be called inside the code of the application that is being evaluated This creates the output log file This is language specific. Depends on how it is called. As of the moment, we'll try using Android as an example. Reference: http://java.sun.com/developer/technicalArticles/xml/JavaTechandXML/ http://www.javaworld.com/javaworld/jw-07-2000/jw-0728-jdom2.html


Field Summary
static java.lang.String ANDROID_PLATFORM
           
static java.lang.String DESKTOP_PLATFORM
           
static java.lang.String evaLogExt
           
 
Constructor Summary
EvaLogger()
           
 
Method Summary
static void FTBDebug(java.lang.String msg)
          My debug messages
static void log(java.lang.String action)
          Should be called by classes where we want to log information.
static void log(java.lang.String componentName, java.lang.String componentType, java.lang.String action)
          Should be called by classes where we want to log information.
static void log(java.lang.String screen, java.lang.String componentName, java.lang.String componentType, java.lang.String action)
          Should be called by classes where we want to log information.
static void p(java.lang.Object o)
          Lazy printing
static void pln(java.lang.Object o)
          Lazy printing
static void setBasicLogInfo(java.lang.String screen)
           
static void startNewLogFile(java.lang.String platform)
          These are cases where we want to force the system to create a new log file instead of using the existing file This should be invoked before the logAndroid method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ANDROID_PLATFORM

public static java.lang.String ANDROID_PLATFORM

DESKTOP_PLATFORM

public static java.lang.String DESKTOP_PLATFORM

evaLogExt

public static java.lang.String evaLogExt
Constructor Detail

EvaLogger

public EvaLogger()
Method Detail

startNewLogFile

public static void startNewLogFile(java.lang.String platform)
                            throws EvaLoggerException
These are cases where we want to force the system to create a new log file instead of using the existing file This should be invoked before the logAndroid method

Throws:
EvaLoggerException

log

public static void log(java.lang.String screen,
                       java.lang.String componentName,
                       java.lang.String componentType,
                       java.lang.String action)
                throws EvaLoggerException
Should be called by classes where we want to log information.

Parameters:
screen - screen name
componentName - name of the component, use the label if possible, so that it's easy to trace
componentType - type/class of the component (e.g. button, textfield)
action - what type of event occurred when using the component (e.g. click, type, etc)
Throws:
EvaLoggerException

log

public static void log(java.lang.String componentName,
                       java.lang.String componentType,
                       java.lang.String action)
                throws EvaLoggerException
Should be called by classes where we want to log information.

Parameters:
componentName - name of the component, use the label if possible, so that it's easy to trace
componentType - type/class of the component (e.g. button, textfield)
action - what type of event occurred when using the component (e.g. click, type, etc)
Throws:
EvaLoggerException

log

public static void log(java.lang.String action)
                throws EvaLoggerException
Should be called by classes where we want to log information.

Parameters:
screen - screen name
componentName - name of the component, use the label if possible, so that it's easy to trace
componentType - type/class of the component (e.g. button, textfield)
action - what type of event occurred when using the component (e.g. click, type, etc)
Throws:
EvaLoggerException

setBasicLogInfo

public static void setBasicLogInfo(java.lang.String screen)
Parameters:
screen -

FTBDebug

public static void FTBDebug(java.lang.String msg)
My debug messages

Parameters:
msg -

p

public static void p(java.lang.Object o)
Lazy printing

Parameters:
o -

pln

public static void pln(java.lang.Object o)
Lazy printing

Parameters:
o -