Package org.altbeacon.beacon.logging
Interface Logger
-
public interface LoggerLogging interface for logging messages in the android-beacon-library. To set a custom logger implement this interface and set it withLogManager.setLogger(Logger).- Since:
- 2.2
- See Also:
LogManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidd(String tag, String message, Object... args)Send a debug log message.voidd(Throwable t, String tag, String message, Object... args)Send a debug log message.voide(String tag, String message, Object... args)Send a error log message.voide(Throwable t, String tag, String message, Object... args)Send a error log message.voidi(String tag, String message, Object... args)Send a info log message.voidi(Throwable t, String tag, String message, Object... args)Send a info log message.voidv(String tag, String message, Object... args)Send a verbose log message.voidv(Throwable t, String tag, String message, Object... args)Send a verbose log message.voidw(String tag, String message, Object... args)Send a warning log message.voidw(Throwable t, String tag, String message, Object... args)Send a warning log message.
-
-
-
Method Detail
-
v
void v(String tag, String message, Object... args)
Send a verbose log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.args- Arguments for string formatting.- See Also:
Log.v(String, String),Formatter,String.format(String, Object...)
-
v
void v(Throwable t, String tag, String message, Object... args)
Send a verbose log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.t- An exception to log.args- Arguments for string formatting.- See Also:
Log.v(String, String, Throwable),Formatter,String.format(String, Object...)
-
d
void d(String tag, String message, Object... args)
Send a debug log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.args- Arguments for string formatting.- See Also:
Log.d(String, String),Formatter,String.format(String, Object...)
-
d
void d(Throwable t, String tag, String message, Object... args)
Send a debug log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.t- An exception to log.args- Arguments for string formatting.- See Also:
Log.d(String, String, Throwable),Formatter,String.format(String, Object...)
-
i
void i(String tag, String message, Object... args)
Send a info log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.args- Arguments for string formatting.- See Also:
Log.i(String, String),Formatter,String.format(String, Object...)
-
i
void i(Throwable t, String tag, String message, Object... args)
Send a info log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.t- An exception to log.args- Arguments for string formatting.- See Also:
Log.i(String, String, Throwable),Formatter,String.format(String, Object...)
-
w
void w(String tag, String message, Object... args)
Send a warning log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.args- Arguments for string formatting.- See Also:
Log.w(String, String),Formatter,String.format(String, Object...)
-
w
void w(Throwable t, String tag, String message, Object... args)
Send a warning log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.t- An exception to log.args- Arguments for string formatting.- See Also:
Log.w(String, String, Throwable),Formatter,String.format(String, Object...)
-
e
void e(String tag, String message, Object... args)
Send a error log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.args- Arguments for string formatting.- See Also:
Log.e(String, String),Formatter,String.format(String, Object...)
-
e
void e(Throwable t, String tag, String message, Object... args)
Send a error log message.- Parameters:
tag- Used to identify the source of a log message. It usually identifies the class or activity where the log call occurs.message- The message you would like logged. This message may contain string formatting which will be replaced with values from args.t- An exception to log.args- Arguments for string formatting.- See Also:
Log.e(String, String, Throwable),Formatter,String.format(String, Object...)
-
-