Skip to content

Commit 9efca21

Browse files
committed
add no-args constructor to support various serialization frameworks
Signed-off-by: ceki <[email protected]>
1 parent 1bea580 commit 9efca21

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

logback-classic/src/main/java/ch/qos/logback/classic/spi/LoggerContextVO.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ public class LoggerContextVO implements Serializable {
4141
protected Map<String, String> propertyMap;
4242
protected long birthTime;
4343

44+
/**
45+
* No-arg constructor for serialization frameworks only.
46+
*
47+
* @since 1.5.21
48+
*/
49+
public LoggerContextVO() {}
50+
4451
public LoggerContextVO(LoggerContext lc) {
4552
this.name = lc.getName();
4653
this.propertyMap = lc.getCopyOfPropertyMap();

0 commit comments

Comments
 (0)