Accela SDK for Android  V3.0
 All Classes Functions Variables Pages
com.accela.mobile.AMLogger Class Reference

Static Public Member Functions

static void setLogLevelr (AMLogLevel level)
 
static void logError (String format, Object...args)
 
static void logWarn (String format, Object...args)
 
static void logInfo (String format, Object...args)
 
static void logVerbose (String format, Object...args)
 

Detailed Description

 Accela Amobile
 File: AMLogger.java
 Accela, Inc.
 Copyright (C): 2013
 Description:
 Logger object, used to print or save log entities based on various log levels.
 Notes:
 Revision History
Since
1.0

Member Function Documentation

static void com.accela.mobile.AMLogger.logError ( String  format,
Object...  args 
)
inlinestatic

Create a formatted log message with Error level

Parameters
formatA string which contains placeholders which will be replaced by the variables listed in the second parameter args. For example: "Got %d records with type %s "
argsA list of variables.
Returns
Void.
Since
1.0
static void com.accela.mobile.AMLogger.logInfo ( String  format,
Object...  args 
)
inlinestatic

Create a formatted log message with Info level

Parameters
formatA string which contains placeholders which will be replaced by the variables listed in the second parameter args. For example: "Got %d records with type %s "
argsA list of variables.
Returns
Void.
Since
1.0
static void com.accela.mobile.AMLogger.logVerbose ( String  format,
Object...  args 
)
inlinestatic

Create a formatted log message with Verbose level

Parameters
formatA string which contains placeholders which will be replaced by the variables listed in the second parameter args. For example: "Got %d records with type %s "
argsA list of variables.
Returns
Void.
Since
1.0
static void com.accela.mobile.AMLogger.logWarn ( String  format,
Object...  args 
)
inlinestatic

Create a formatted log message with Warn level

Parameters
formatA string which contains placeholders which will be replaced by the variables listed in the second parameter args. For example: "Got %d records with type %s "
argsA list of variables.
Returns
Void.
Since
1.0
static void com.accela.mobile.AMLogger.setLogLevelr ( AMLogLevel  level)
inlinestatic

Set level of the logger

Parameters
levelOne of enumeration values defined in AMEnumUtil.LogLevel .
Returns
Void.
Since
1.0

The documentation for this class was generated from the following file: