Skip to content

Commit

Permalink
Allow nullable values
Browse files Browse the repository at this point in the history
  • Loading branch information
connected-zfreedman committed Feb 27, 2024
1 parent 31caae9 commit 13037f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ package io.github.oshai.kotlinlogging
public class KLoggingEventBuilder {
public var message: String? = null
public var cause: Throwable? = null
public var payload: Map<String, Any>? = null
public var payload: Map<String, Any?>? = null
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ public data class KLoggingEvent(
public val loggerName: String,
public val message: String? = null,
public val cause: Throwable? = null,
public val payload: Map<String, Any>? = null,
public val payload: Map<String, Any?>? = null,
) {
public constructor(
level: Level,
Expand Down

0 comments on commit 13037f3

Please sign in to comment.