Package ch.qos.logback.core.layout
Class EchoLayout<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.LayoutBase<E>
-
- ch.qos.logback.core.layout.EchoLayout<E>
-
- All Implemented Interfaces:
Layout<E>
,ContextAware
,LifeCycle
@Deprecated(since="2022-01-27") public class EchoLayout<E> extends LayoutBase<E>
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Echos the incoming object adding a line separator character(s) at the end.
-
-
Constructor Summary
Constructors Constructor Description EchoLayout()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
doLayout(E event)
Deprecated.Transform an event (of type Object) and return it as a String after appropriate formatting.-
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, getStatusManager
-
-
-
-
Method Detail
-
doLayout
public java.lang.String doLayout(E event)
Deprecated.Description copied from interface:Layout
Transform an event (of type Object) and return it as a String after appropriate formatting.Taking in an object and returning a String is the least sophisticated way of formatting events. However, it is remarkably CPU-effective.
- Parameters:
event
- The event to format- Returns:
- the event formatted as a String
-
-