添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
老实的小摩托  ·  Guides·  3 周前    · 
成熟的橡皮擦  ·  GPU basecalling via ...·  1 月前    · 
胡子拉碴的饼干  ·  环球人物·  1 月前    · 
All Implemented Interfaces:
ch.qos.logback.core.Appender<ch.qos.logback.classic.spi.ILoggingEvent> , ch.qos.logback.core.spi.ContextAware , ch.qos.logback.core.spi.FilterAttachable<ch.qos.logback.classic.spi.ILoggingEvent> , ch.qos.logback.core.spi.LifeCycle
public class MemoryAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
java.util.List<ch.qos.logback.classic.spi.ILoggingEvent> getEvents ​(int limit, java.lang.String logNameMatch, ch.qos.logback.classic.Level minSeverity)
Retrieves the most recent events with the given filtering arguments applied.
getSize () boolean requiresLayout () resize ​(int newSize)

getEvents

public java.util.List<ch.qos.logback.classic.spi.ILoggingEvent> getEvents​(int limit,
                                                                          java.lang.String logNameMatch,
                                                                          ch.qos.logback.classic.Level minSeverity)
Retrieves the most recent events with the given filtering arguments applied.
Parameters:
limit - Up to this many events will be returned.
logNameMatch - if non-null/non-empty, the event's logger name must contain this text (case insensitive) in order to match.
minSeverity - Only events with the given severity level or greater will be returned.