java.lang.Object | ||
↳ | org.apache.log4j.Layout | |
↳ | org.apache.log4j.SimpleLayout |
SimpleLayout consists of the level of the log statement, followed by " - " and then the log message itself. For example,
DEBUG - Hello world
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the log statement in a format consisting of the
level , followed by " - " and then the
message . | |||||||||||
The SimpleLayout does not handle the throwable contained within
LoggingEvents . |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the log statement in a format consisting of the
level
, followed by " - " and then the
message
. For example,
INFO - "A message"
The category
parameter is ignored.
The SimpleLayout does not handle the throwable contained within
LoggingEvents
. Thus, it returns
true
.