public class LevelAttributeConverter extends Object implements javax.persistence.AttributeConverter<org.apache.logging.log4j.Level,String>
Levels in LogEvents. This
converter is capable of converting both to and from Strings.| Constructor and Description |
|---|
LevelAttributeConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convertToDatabaseColumn(org.apache.logging.log4j.Level level) |
org.apache.logging.log4j.Level |
convertToEntityAttribute(String s) |
public LevelAttributeConverter()
public String convertToDatabaseColumn(org.apache.logging.log4j.Level level)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<org.apache.logging.log4j.Level,String>public org.apache.logging.log4j.Level convertToEntityAttribute(String s)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<org.apache.logging.log4j.Level,String>Copyright © 1999-2019 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.