EasyLogger(ActionLogLevel, Object, String, Exception) 构造函数
一个简单的委托日志
命名空间: TouchSocket.Core程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:4.0.0-beta.143+5fcca7a4e70968794985dc3793adc50531308be6
public EasyLogger(
Action<LogLevel, Object, string, Exception> action
)
Public Sub New (
action As Action(Of LogLevel, Object, String, Exception)
)
new :
action : Action<LogLevel, Object, string, Exception> -> EasyLogger
参数
- action ActionLogLevel, Object, String, Exception
- 参数依次为:日志类型,触发源,消息,异常