chapters.layouts
Class MySampleLayout2

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.LayoutBase<ILoggingEvent>
          extended by chapters.layouts.MySampleLayout2
All Implemented Interfaces:
Layout<ILoggingEvent>, ContextAware, LifeCycle

public class MySampleLayout2
extends LayoutBase<ILoggingEvent>


Field Summary
 
Fields inherited from class ch.qos.logback.core.LayoutBase
started
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
MySampleLayout2()
           
 
Method Summary
 String doLayout(ILoggingEvent event)
           
 void setPrefix(String prefix)
           
 void setPrintThreadName(boolean printThreadName)
           
 
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 ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getDeclaredOrigin, getStatusManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn
 

Constructor Detail

MySampleLayout2

public MySampleLayout2()
Method Detail

setPrefix

public void setPrefix(String prefix)

setPrintThreadName

public void setPrintThreadName(boolean printThreadName)

doLayout

public String doLayout(ILoggingEvent event)


Copyright © 2005-2011 QOS.ch. All Rights Reserved.