Click or drag to resize

AppLog Class

Allows for diagnostic logging of CFX transactions.
Inheritance Hierarchy
SystemObject
  CFX.UtilitiesAppLog

Namespace: CFX.Utilities
Assembly: CFX (in CFX.dll) Version: 1.7.3
Syntax
public static class AppLog

The AppLog type exposes the following members.

Properties
 NameDescription
Public propertyStatic memberAmqpTraceEnabled If true, transport oritented diagnostic trace information from the underlying Microsoft Amqp.Net library will also be included in the CFX diagnostic logs
Public propertyStatic memberLogFilePath The full path and filename where diagnostic log entries should be written. If null or empty, no log is written to disk.
Public propertyStatic memberLoggingEnabled Global enable/disable flag for logging. If false, all CFX diagnostic logging is disabled.
Public propertyStatic memberLoggingLevel A flag type enumeration indicating which logging levels are to be enabled
Public propertyStatic memberSettingsPath Defines the full path and file name of a file containing diagnostic log settings (in JSON format). The running application will search for this file at runtime (every 10 seconds), and apply the logging settings specified.
Top
Events
 NameDescription
Public eventStatic memberOnTraceMessage Delegate for receiving trace events from CFX AppLog class
Top
See Also