Skip to content

Commit be5afc2

Browse files
wreulickeceki
authored andcommitted
Improve compatibility with 1.2 or prior
Signed-off-by: wreulicke <[email protected]>
1 parent 9fd7d96 commit be5afc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ default Marker getMarker() {
143143
* @since 1.3
144144
*/
145145
default Instant getInstant() {
146-
return null;
146+
return Instant.ofEpochMilli(getTimeStamp());
147147
}
148148

149149
/**

0 commit comments

Comments
 (0)