RazorSoftware.Logging
May2020
Small and Simple .NET Logging Library
|
Root namespace for the RazorSoftware Logging library. More...
Namespaces | |
namespace | Outputs |
Contains common endpoints that can be used as Log Message Outputs for the RazorSoftware Logging library. | |
Classes | |
class | Log |
Logs messages generated from various parts of the Application to multiple configurable outputs. More... | |
class | Logger |
Logs messages generated from an specific part of the Application to the central Log class. More... | |
class | LogProxy |
Provides a Proxy Instance for accessing the Static Log class when access to Static members is not possible. This class is a mere wrapper of the Log class. More... | |
class | NativeMethods |
class | SlimLogger |
Processes Log messages and writes them to its own decentralized File Output which is not managed by the Central Log class. More... | |
Enumerations | |
enum | LogLevel : ushort { LogLevel.Debug = 0x0000, LogLevel.Message = 0x1000, LogLevel.Warning = 0x3000, LogLevel.Error = 0x5000, LogLevel.Crash = 0xFFFF } |
Stores values for different LogLevels supported by the Message Logger. More... | |
Root namespace for the RazorSoftware Logging library.
|
strong |
Stores values for different LogLevels supported by the Message Logger.
A custom int16 value can be specified for LogLevel, to allow support for custom Messages codes in your application.
And the members on the Logging namespace will process them according to the section where they belongs.
Values ranging from zero to 0x0FFF are treated as Debug messsages. (4.096 entries)
Values ranging from 0x1000 to 0x2FFF are treated as Information Messages. (8.192 entries)
Values ranging from 0x3000 to 0x4FFF are treated as Warnings. (8.192 entries)
Values ranging from 0x5000 to 0x6FFF are treated as Errors. (8.192 entries)
A value of 0xFFFF (-1) is reserved for Crash messages.