Build 1.0_r1(from source)

android.speech.recognition
Class Logger

java.lang.Object
  extended by android.speech.recognition.Logger
Direct Known Subclasses:
LoggerImpl

public abstract class Logger
extends Object

Logs debugging information.


Nested Class Summary
static class Logger.LogLevel
          Logging level
 
Constructor Summary
Logger()
           
 
Method Summary
abstract  void error(String message)
          Logs an error message.
static Logger getInstance()
          Returns the singleton instance.
abstract  void info(String message)
          Logs an informational message.
abstract  void setLoggingLevel(Logger.LogLevel level)
          Sets the logging level.
abstract  void setPath(String path)
          Sets the log path.
abstract  void trace(String message)
          Logs a method tracing message.
abstract  void warn(String message)
          Logs a warning message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logger

public Logger()
Method Detail

getInstance

public static Logger getInstance()
Returns the singleton instance.

Returns:
the singleton instance

setLoggingLevel

public abstract void setLoggingLevel(Logger.LogLevel level)
Sets the logging level.

Parameters:
level - the logging level

setPath

public abstract void setPath(String path)
Sets the log path.

Parameters:
path - the path of the log file

error

public abstract void error(String message)
Logs an error message.

Parameters:
message - the message to log

warn

public abstract void warn(String message)
Logs a warning message.

Parameters:
message - the message to log

info

public abstract void info(String message)
Logs an informational message.

Parameters:
message - the message to log

trace

public abstract void trace(String message)
Logs a method tracing message.

Parameters:
message - the message to log

Build 1.0_r1(from source)

Please submit a feedback, bug or feature