LoggerBaseCreateLogString 方法
创建日志字符串。
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
protected string CreateLogString(
LogLevel logLevel,
Object source,
string message,
Exception exception
)
Protected Function CreateLogString (
logLevel As LogLevel,
source As Object,
message As String,
exception As Exception
) As String
member CreateLogString :
logLevel : LogLevel *
source : Object *
message : string *
exception : Exception -> string
- logLevel LogLevel
- 日志级别。
- source Object
- 日志来源对象。
- message String
- 日志信息内容。
- exception Exception
- 关联的异常对象。
String格式化后的日志字符串。