LoggerManagerInitialize 方法
Initializes logging system with specified configuration
使用指定配置初始化日志系统
命名空间: DeploySharp.Log程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public static void Initialize(
LogLevel level,
LogOutput output,
string logPath = "DeploySharpLogs"
)
参数
- level LogLevel
- Minimum log level to output 要输出的最低日志级别
- output LogOutput
- Output targets (Console/File/All) 输出目标(控制台/文件/全部)
- logPath String (Optional)
- Directory path for log files (default: "DeploySharpLogs")
日志文件的目录路径(默认:"DeploySharpLogs")