- java.lang.Object
-
- java.util.logging.Handler
-
- org.redkale.boot.LoggingBaseHandler
-
- org.redkale.boot.LoggingSearchHandler
-
public class LoggingSearchHandler extends LoggingBaseHandler
基于SearchSource的日志输出类详情见: https://redkale.org
- 从以下版本开始:
- 2.7.0
- 作者:
- zhangjx
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classLoggingSearchHandler.SearchLogRecord-
从类继承的嵌套类/接口 org.redkale.boot.LoggingBaseHandler
LoggingBaseHandler.LoggingFormater
-
-
字段概要
字段 修饰符和类型 字段 说明 protected Applicationapplicationprotected static StringDEFAULT_TABLE_NAMEprotected PatterndenyRegexprotected LinkedBlockingQueue<LoggingSearchHandler.SearchLogRecord>logqueueprotected Stringpatternprotected AtomicIntegerretryCountprotected SearchSourcesourceprotected StringsourceResourceNameprotected Stringtagprotected StringtagDateFormat-
从类继承的字段 org.redkale.boot.LoggingBaseHandler
FORMATTER_FORMAT, FORMATTER_FORMAT2, FORMATTER_FORMAT3
-
-
构造器概要
构造器 构造器 说明 LoggingSearchHandler()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidclose()voidflush()voidpublish(LogRecord log)-
从类继承的方法 org.redkale.boot.LoggingBaseHandler
fillLogRecord, initDebugLogConfig
-
从类继承的方法 java.util.logging.Handler
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, isLoggable, reportError, setEncoding, setErrorManager, setFilter, setFormatter, setLevel
-
-
-
-
字段详细资料
-
logqueue
protected final LinkedBlockingQueue<LoggingSearchHandler.SearchLogRecord> logqueue
-
retryCount
protected final AtomicInteger retryCount
-
tag
protected String tag
-
tagDateFormat
protected String tagDateFormat
-
pattern
protected String pattern
-
denyRegex
protected Pattern denyRegex
-
sourceResourceName
protected String sourceResourceName
-
source
protected SearchSource source
-
application
protected Application application
-
-
方法详细资料
-
close
public void close() throws SecurityException- 指定者:
close在类中Handler- 抛出:
SecurityException
-
-