This commit is contained in:
Digital Data - Marlon Schreiber 2018-08-16 10:18:53 +02:00
commit 6af5003e9d

View File

@ -40,8 +40,9 @@ Public Class Logger
Private Const TARGET_DETAIL As String = "detail" Private Const TARGET_DETAIL As String = "detail"
Private Const TARGET_DEBUG As String = "debug" Private Const TARGET_DEBUG As String = "debug"
Private Const LOG_FORMAT_DEFAULT As String = "${longdate}|${level:uppercase=true}|${logger}|${message}" Private Const LOG_FORMAT_BASE As String = "${longdate}|${logger}|${level:uppercase=true} >> ${message}"
Private Const LOG_FORMAT_EXCEPTION As String = LOG_FORMAT_DEFAULT & "|${exception:format=message}|${exception:format=toString}" Private Const LOG_FORMAT_DEFAULT As String = LOG_FORMAT_BASE
Private Const LOG_FORMAT_EXCEPTION As String = LOG_FORMAT_BASE & "${newline}${exception:format=toString}"
Private config As LoggingConfiguration Private config As LoggingConfiguration
Private isDebug As Boolean = False Private isDebug As Boolean = False