Log4j2 Json Layout Example, e ObjectMessage is serialized as JSON object to the “message” field of the output log.