Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

DeploySharp.Log 命名空间

Provides logging and diagnostic capabilities 提供日志记录和诊断功能

备注

Includes configurable logging providers, performance counters, and debugging utilities for deployment monitoring. 包含可配置的日志记录提供程序、性能计数器及用于部署监控的调试工具

CustomPatternLayout Custom PatternLayout that registers the filename converter
FileNamePatternConverter Custom pattern converter that extracts just the filename from a full path for log messages
LoggerManager Provides centralized logging management for the application using log4net 使用 log4net 提供应用程序的集中日志管理
MyLogger Provides a static logger instance for the application with initialization and log level control

枚举

LogLevel Enum defining available log levels 定义可用日志级别的枚举
LogOutput Enum defining available log output targets 定义可用日志输出目标的枚举