一款简单易用的基础网络通讯组件库。

LoggerExtensions 类

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.

Definition

命名空间: TouchSocket.Core
程序集: TouchSocket.Core (在 TouchSocket.Core.dll 中) 版本:3.0.0+ccaf96084d09f972257496d1dd63b8ba3c1e44f0
C#
public static class LoggerExtensions
Inheritance
Object    LoggerExtensions

方法

Critical(ILog, String) 输出中断日志
CriticalTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出中断日志
Debug(ILog, String) 输出调试日志
DebugTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出调试日志
Error(ILog, String) 输出错误日志
Error(ILog, Object, String) 输出错误日志
ErrorTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出错误日志
ErrorTLog(ILog, Object, String) 指定在LoggerGroup中的特定日志类型中输出错误日志
Exception(ILog, Exception) 输出异常日志
Exception(ILog, Object, Exception) 输出异常日志
Exception(ILog, Object, String, Exception) 输出异常日志
ExceptionTLog(ILog, Exception) 指定在LoggerGroup中的特定日志类型中输出异常日志
ExceptionTLog(ILog, Object, Exception) 指定在LoggerGroup中的特定日志类型中输出异常日志
Info(ILog, String) 输出消息日志
Info(ILog, Object, String) 输出消息日志
InfoTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出消息日志
InfoTLog(ILog, Object, String) 指定在LoggerGroup中的特定日志类型中输出消息日志
LogTLog 指定在LoggerGroup中的特定日志类型中输出日志
Trace(ILog, String) 输出详细日志
TraceTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出详细日志
Warning(ILog, String) 输出警示日志
Warning(ILog, Object, String) 输出警示日志
WarningTLog(ILog, String) 指定在LoggerGroup中的特定日志类型中输出警示日志
WarningTLog(ILog, Object, String) 指定在LoggerGroup中的特定日志类型中输出警示日志

参见