| Constructor and Description |
|---|
ConsoleLogger() |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<LogDomain> |
getDomains()
Gets the domains that will be considered for writing to the console log.
|
LogLevel |
getLevel()
Gets the level that will be logged via this logger.
|
void |
log(LogLevel level,
LogDomain domain,
String message)
Performs the actual logging logic
|
void |
setDomains(EnumSet<LogDomain> domains)
Sets the domains that will be considered for writing to the console log.
|
void |
setDomains(LogDomain... domains)
Sets the domains that will be considered for writing to the console log.
|
void |
setLevel(LogLevel level)
Sets the overall logging level that will be written to the console log.
|
public void log(@NonNull
LogLevel level,
@NonNull
LogDomain domain,
@NonNull
String message)
Logger@NonNull public LogLevel getLevel()
Loggerpublic void setLevel(@NonNull
LogLevel level)
level - The lowest (most verbose) level to include in the logs@NonNull public EnumSet<LogDomain> getDomains()
public void setDomains(@NonNull
EnumSet<LogDomain> domains)
domains - The domains to make activepublic void setDomains(@NonNull
LogDomain... domains)
domains - The domains to make active (vararg)