Package io.didomi.sdk
Object Log
-
- All Implemented Interfaces:
public class LogLogger with support for minimum log level Relies on
android.util.Logfor the actual logging
-
-
Method Summary
Modifier and Type Method Description final static Unitd(String message, Throwable throwable)Log a message with level DEBUG final static Unitd(String message)Log a message with level DEBUG final static Unite(String message, Throwable throwable)Log a message with level ERROR final static Unite(String message)Log a message with level ERROR final static Uniti(String message, Throwable throwable)Log a message with level INFO final static Uniti(String message)Log a message with level INFO final static Unitv(String message, Throwable throwable)Log a message with level VERBOSE final static Unitv(String message)Log a message with level VERBOSE final static Unitw(String message, Throwable throwable)Log a message with level WARN final static Unitw(String message)Log a message with level WARN final BooleanpreventLogForLevel(Integer logLevel)Check if log level is prevented final static IntegergetLevel()Min level of messages to log final static UnitsetLevel(static Integer level)Min level of messages to log -
-
Method Detail
-
d
@JvmOverloads() final static Unit d(String message, Throwable throwable)
Log a message with level DEBUG
-
d
@JvmOverloads() final static Unit d(String message)
Log a message with level DEBUG
- Parameters:
message- the log message as String
-
e
@JvmOverloads() final static Unit e(String message, Throwable throwable)
Log a message with level ERROR
-
e
@JvmOverloads() final static Unit e(String message)
Log a message with level ERROR
- Parameters:
message- the log message as String
-
i
@JvmOverloads() final static Unit i(String message, Throwable throwable)
Log a message with level INFO
-
i
@JvmOverloads() final static Unit i(String message)
Log a message with level INFO
- Parameters:
message- the log message as String
-
v
@JvmOverloads() final static Unit v(String message, Throwable throwable)
Log a message with level VERBOSE
-
v
@JvmOverloads() final static Unit v(String message)
Log a message with level VERBOSE
- Parameters:
message- the log message as String
-
w
@JvmOverloads() final static Unit w(String message, Throwable throwable)
Log a message with level WARN
-
w
@JvmOverloads() final static Unit w(String message)
Log a message with level WARN
- Parameters:
message- the log message as String
-
preventLogForLevel
final Boolean preventLogForLevel(Integer logLevel)
Check if log level is prevented
-
-
-
-