NFX.Log NamespaceNFX Class Library

[This is preliminary documentation and is subject to change.]

Logging services
Classes

  ClassDescription
Public classLogService
Provides logging services by buffering messages and dispatching them into destinations. This is an asynchronous service, meaning that Write(msg) never blocks for long.
Public classLogServiceBase
Based class for implementing test and non-test logging services. Destinations may fail and the message will be failed-over into another destination in the same logger as specified by 'failover' attribute of destination. This attribute is also present on service level. Cascading failover is not supported (failover of failovers). Another consideration is that messages get sent into destinations synchronously by internal thread so specifying too many destinations may limit overall LogService throughput. In complex scenarios consider using LogServiceDestination instead.
Public classLogServiceBase DestinationList
Public classMessage
Represents a Log message
Public classMessageFilterExpression
Defines an expression used for log message filtering. Important: it is not a good practice to create many different scopes as it leads to creation of many assemblies dynamically
Protected classMessageList
Public classNOPLog
Represents log that does not do anything
Interfaces

  InterfaceDescription
Public interfaceILog
Describes entity capable of being written log information to
Public interfaceILogImplementation
Describes entity capable of being written log information to
Enumerations

  EnumerationDescription
Public enumerationMessageType
Stipulates general logging message types like: Info/Warning/Error etc...