com.sibvisions.android.log
Class AndroidLogger

java.lang.Object
  extended by com.sibvisions.util.log.jdk.JdkStandardLogger
      extended by com.sibvisions.android.log.AndroidLogger
All Implemented Interfaces:
ILogger

public class AndroidLogger
extends JdkStandardLogger

The AndroidLogger is the ILogger for the Android logging API.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sibvisions.util.log.ILogger
ILogger.LogLevel
 
Constructor Summary
AndroidLogger(String pName)
          Creates a new instance of AndroidLogger.
 
Method Summary
protected  void publish(LogRecord pRecord)
          Prints out the record through Android log mechanism.
 
Methods inherited from class com.sibvisions.util.log.jdk.JdkStandardLogger
debug, error, getLevel, getName, info, isEnabled, isLevelSet, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidLogger

public AndroidLogger(String pName)
Creates a new instance of AndroidLogger.

Parameters:
pName - the name for the logger (the class name is recommended)
Method Detail

publish

protected void publish(LogRecord pRecord)
Prints out the record through Android log mechanism.

Overrides:
publish in class JdkStandardLogger
Parameters:
pRecord -


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.