chapters.migrationFromLog4j
Class TrivialLogbackLayout
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.LayoutBase<ILoggingEvent>
chapters.migrationFromLog4j.TrivialLogbackLayout
- All Implemented Interfaces:
- Layout<ILoggingEvent>, ContextAware, LifeCycle
public class TrivialLogbackLayout
- extends LayoutBase<ILoggingEvent>
A very simple logback-classic layout which formats a logging event
by returning the message contained therein.
- Author:
- Ceki Gülcü
| Methods inherited from class ch.qos.logback.core.LayoutBase |
getContentType, getContext, getFileFooter, getFileHeader, getPresentationFooter, getPresentationHeader, isStarted, setContext, setFileFooter, setFileHeader, setPresentationFooter, setPresentationHeader, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialLogbackLayout
public TrivialLogbackLayout()
doLayout
public String doLayout(ILoggingEvent loggingEvent)
Copyright © 2005-2011 QOS.ch. All Rights Reserved.