Package | Description |
---|---|
org.tinygroup.logger | |
org.tinygroup.logger.impl | |
org.tinygroup.weblayer.webcontext.session.impl |
Modifier and Type | Method and Description |
---|---|
static LogLevel |
LoggerFactory.getThreadLogLevel() |
static LogLevel |
LogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
LogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Logger.isEnabled(LogLevel logLevel)
判定某个级别是否启用
|
void |
Logger.log(LogLevel logLevel,
Locale locale,
String code,
Context context)
通过国际化方式进行记录
|
void |
Logger.log(LogLevel logLevel,
Locale locale,
String code,
Object... args)
通过国际化方式进行记录
|
void |
Logger.log(LogLevel logLevel,
Locale locale,
String code,
Throwable t,
Context context) |
void |
Logger.log(LogLevel logLevel,
Locale locale,
String code,
Throwable t,
Object... args) |
void |
Logger.log(LogLevel logLevel,
String code) |
void |
Logger.log(LogLevel logLevel,
String code,
Context context)
通过国际化方式进行记录
|
void |
Logger.log(LogLevel logLevel,
String code,
Object... args)
通过国际化方式进行记录
|
void |
Logger.log(LogLevel logLevel,
String code,
Throwable t,
Context context) |
void |
Logger.log(LogLevel logLevel,
String code,
Throwable t,
Object... args) |
void |
Logger.logMessage(LogLevel logLevel,
String message) |
void |
Logger.logMessage(LogLevel logLevel,
String message,
Context context)
不对message进行格式化直接输出
|
void |
Logger.logMessage(LogLevel logLevel,
String message,
Object... args)
不对message进行格式化直接输出
|
void |
Logger.logMessage(LogLevel logLevel,
String message,
Throwable t) |
void |
Logger.logMessage(LogLevel logLevel,
String message,
Throwable t,
Context context) |
void |
Logger.logMessage(LogLevel logLevel,
String message,
Throwable t,
Object... args) |
static void |
LoggerFactory.setThreadLogLevel(LogLevel logLevel) |
Modifier and Type | Method and Description |
---|---|
LogLevel |
Message.getLevel() |
Modifier and Type | Method and Description |
---|---|
boolean |
LoggerImpl.isEnabled(LogLevel logLevel) |
void |
LoggerImpl.log(LogLevel logLevel,
Locale locale,
String code,
Context context) |
void |
LoggerImpl.log(LogLevel logLevel,
Locale locale,
String code,
Object... args) |
void |
LoggerImpl.log(LogLevel logLevel,
Locale locale,
String code,
Throwable t,
Context context) |
void |
LoggerImpl.log(LogLevel logLevel,
Locale locale,
String code,
Throwable t,
Object... args) |
void |
LoggerImpl.log(LogLevel logLevel,
String code) |
void |
LoggerImpl.log(LogLevel logLevel,
String code,
Context context) |
void |
LoggerImpl.log(LogLevel logLevel,
String code,
Object... args) |
void |
LoggerImpl.log(LogLevel logLevel,
String code,
Throwable t,
Context context) |
void |
LoggerImpl.log(LogLevel logLevel,
String code,
Throwable t,
Object... args) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message,
Context context) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message,
Object... args) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message,
Throwable t) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message,
Throwable t,
Context context) |
void |
LoggerImpl.logMessage(LogLevel logLevel,
String message,
Throwable t,
Object... args) |
Constructor and Description |
---|
Message(LogLevel level,
String message,
long time) |
Message(LogLevel level,
String message,
long time,
Throwable throwable) |
Modifier and Type | Method and Description |
---|---|
void |
SessionLifecycleLogger.setLogLevel(LogLevel level) |
void |
SessionLifecycleLogger.setVisitLogLevel(LogLevel level) |
Copyright © 2006–2018 TinyGroup. All rights reserved.