public class LevelRemappingAppender
extends ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>
Appender that can remap ILoggingEvent Levels as they are
 written.setRemapLevels(String), 
setDestinationLogger(String)| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | LevelRemappingAppender.AppendableLoggerSimple wrapper around a logger that can have events appended. | 
| Constructor and Description | 
|---|
| LevelRemappingAppender() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | append(ch.qos.logback.classic.spi.ILoggingEvent event) | 
| protected LevelRemappingAppender.AppendableLogger | getLogger(String name) | 
| void | setDestinationLogger(String destinationLogger)Sets the destination logger that will be used to send remapped events. | 
| void | setRemapLevels(String remapLevels)Set the remapped level. | 
addFilter, clearAllFilters, doAppend, getCopyOfAttachedFiltersList, getFilterChainDecision, getName, isStarted, setName, start, stop, toStringaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextprotected void append(ch.qos.logback.classic.spi.ILoggingEvent event)
append in class ch.qos.logback.core.AppenderBase<ch.qos.logback.classic.spi.ILoggingEvent>protected LevelRemappingAppender.AppendableLogger getLogger(String name)
public void setDestinationLogger(String destinationLogger)
destinationLogger - the destinationLogger namepublic void setRemapLevels(String remapLevels)
remapLevels - Comma separated String of remapped levels in the form
 "FROM->TO". For example, "DEBUG->TRACE,ERROR->WARN".Copyright © 2014 Pivotal Software, Inc.. All rights reserved.