public final class TestLoggerFactory extends Object implements org.slf4j.ILoggerFactory
Modifier and Type | Method and Description |
---|---|
static void |
clear() |
static void |
clearAll() |
void |
clearAllLoggers() |
void |
clearLoggers() |
com.google.common.collect.ImmutableMap<String,TestLogger> |
getAllLoggers() |
static List<LoggingEvent> |
getAllLoggingEvents() |
List<LoggingEvent> |
getAllLoggingEventsFromLoggers() |
static Map<String,TestLogger> |
getAllTestLoggers() |
static TestLoggerFactory |
getInstance() |
TestLogger |
getLogger(Class<?> aClass) |
TestLogger |
getLogger(String name) |
static List<LoggingEvent> |
getLoggingEvents() |
com.google.common.collect.ImmutableList<LoggingEvent> |
getLoggingEventsFromLoggers() |
uk.org.lidalia.slf4jext.Level |
getPrintLevel() |
static TestLogger |
getTestLogger(Class<?> aClass) |
static TestLogger |
getTestLogger(String name) |
void |
setPrintLevel(uk.org.lidalia.slf4jext.Level printLevel) |
public static TestLoggerFactory getInstance()
public static TestLogger getTestLogger(Class<?> aClass)
public static TestLogger getTestLogger(String name)
public static Map<String,TestLogger> getAllTestLoggers()
public static void clear()
public static void clearAll()
public static List<LoggingEvent> getLoggingEvents()
public static List<LoggingEvent> getAllLoggingEvents()
public uk.org.lidalia.slf4jext.Level getPrintLevel()
public com.google.common.collect.ImmutableMap<String,TestLogger> getAllLoggers()
public TestLogger getLogger(Class<?> aClass)
public TestLogger getLogger(String name)
getLogger
in interface org.slf4j.ILoggerFactory
public void clearLoggers()
public void clearAllLoggers()
public com.google.common.collect.ImmutableList<LoggingEvent> getLoggingEventsFromLoggers()
public List<LoggingEvent> getAllLoggingEventsFromLoggers()
public void setPrintLevel(uk.org.lidalia.slf4jext.Level printLevel)
Copyright © 2014. All Rights Reserved.