C# (CSharp) CK.Core SystemActivityMonitor - 5 exemples trouvés. Ce sont les exemples réels les mieux notés de CK.Core.SystemActivityMonitor extraits de projets open source. Vous pouvez noter les exemples pour nous aider à en améliorer la qualité.
This ActivityMonitor logs errors in a directory (if the static RootLogPath property is not null) and raises OnError events. Its main goal is to be internally used by the Monitor framework but can be used as a "normal" monitor (if you believe it is a good idea). The easiest way to configure it is to set an application settings with the key "CK.Core.SystemActivityMonitor.RootLogPath" and the root path for logs as the value.
The RootLogPath uses the Application configuration (if it exists): <appSettings> <add key="CK.Core.SystemActivityMonitor.RootLogPath" value="..." /> </appSettings> If the setting is not there, the Critical errors will NOT be logged except if it is explicitly set: SystemActivityMonitor.RootLogPath = "...";