Enumeration LoggingLevel

Enumerates the available logging levels.

System.Object
  System.ValueType
    System.Enum
      Stonefield.Logging.LoggingLevel
public sealed enum LoggingLevel : Enum

Remarks

Generally, loggers are set to output all logging messages of a given level or higher. For example, a logger that is set to the Warn level outputs all Warn, Error, and Fatal messages and ignores all Debug and Info messages.

Class Members

MemberDescription

Debug

The lowest logging level. Debug items are generally only logged when a specific issue is being diagnosed. Normally Debug items are ignored.

Error

Error items are normally logged to both the normal log file and the error log. The Error logging level should only be used by the error handler to log non-fatal errors, and not used in normal application code.

Fatal

Fatal items are normally logged to both the normal log file and the error log. The Fatal logging level should only be used by the error handler to log fatal errors, and not used in normal application code.

Info

Info items are normally logged. The Info logging level should be used for all "normal" status log messages.

Warn

Warn items are normally logged. The Warn logging level should be used for all unexpected or failure messages in code.

Requirements

Namespace: Stonefield.Logging
Assembly: enums.dll