jj: change log format
This commit is contained in:
parent
6af5003e9d
commit
a01164b6ac
@ -40,9 +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_BASE As String = "${longdate}|${logger}|${level:uppercase=true} >> ${message}"
|
Private Const LOG_FORMAT_BASE As String = "${longdate}|${logger}|${level:uppercase=true}"
|
||||||
Private Const LOG_FORMAT_DEFAULT As String = LOG_FORMAT_BASE
|
Private Const LOG_FORMAT_DEFAULT As String = LOG_FORMAT_BASE & " >> ${message}"
|
||||||
Private Const LOG_FORMAT_EXCEPTION As String = LOG_FORMAT_BASE & "${newline}${exception:format=toString}"
|
Private Const LOG_FORMAT_EXCEPTION As String = LOG_FORMAT_BASE & " >> ${exception:format=Message}${newline}${exception:format=StackTrace}"
|
||||||
|
|
||||||
Private config As LoggingConfiguration
|
Private config As LoggingConfiguration
|
||||||
Private isDebug As Boolean = False
|
Private isDebug As Boolean = False
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user