com.sap.tc.mobile.logging
Interface LogController.LogImplementation

Enclosing class:
LogController

public static interface LogController.LogImplementation

MI private log implementation interface. Implementing class must contain also a static method getInstance() that returns the singleton instance of the implementation. This is NOT part of the API! Do not use it outside of the framework!

Author:
d039184

Method Summary
 Category createCategory(java.lang.String name, LogController parent)
          Create new category.
 Location createLocation(java.lang.String name, LogController parent)
          Create new location.
 void initialize()
           
 void log(boolean log, int severity, Location loc, Category category, java.lang.String subLoc, java.lang.String messageCode, java.lang.Object[] args, java.lang.String clearMsg)
          Log a message.
 

Method Detail

log

void log(boolean log,
         int severity,
         Location loc,
         Category category,
         java.lang.String subLoc,
         java.lang.String messageCode,
         java.lang.Object[] args,
         java.lang.String clearMsg)
Log a message.

Parameters:
log - write also to log file?
severity - message severity.
loc - location.
category - category.
subLoc - sublocation.
messageCode - message code.
args - arguments.
clearMsg - clear-text message (if messageCode not found).

initialize

void initialize()

createLocation

Location createLocation(java.lang.String name,
                        LogController parent)
Create new location.

Parameters:
name - location name.
parent - parent controller.
Returns:
new location.

createCategory

Category createCategory(java.lang.String name,
                        LogController parent)
Create new category.

Parameters:
name - category name.
parent - parent controller.
Returns:
new category.