Fix 2.11 compilation

And avoid default params in a public api
This commit is contained in:
Christopher Batey 2018-12-03 09:13:11 +00:00
parent 4245e41392
commit 629f462030

View file

@ -50,11 +50,8 @@ object CapturedLogEvent {
def apply(
logLevel: LogLevel,
message: String,
cause: Option[Throwable] = None,
marker: Option[LogMarker] = None,
mdc: Map[String, Any] = Map.empty): CapturedLogEvent = {
new CapturedLogEvent(logLevel, message, cause, marker, mdc)
message: String): CapturedLogEvent = {
CapturedLogEvent(logLevel, message, None, None, Map.empty[String, Any])
}
/**