The Caplin.Logging namespace provides logging facilities for applications built using
Caplin's .NET APIs.
An API user must also implement the ILogger interface in order to receive log messages from the Caplin API.
Declaration Syntax
C# | Visual Basic | Visual C++ |
namespace Caplin.Logging
Namespace Caplin.Logging
namespace Caplin.Logging
Types
All Types | Classes | Interfaces | Enumerations |
Icon | Type | Description |
---|---|---|
ConsoleLogger |
The ConsoleLogger implements the ILogger interface and outputs all
log messages to the console.
| |
ILogger |
Definition of the interface that will receive logging messages from a Caplin application.
| |
LogLevels |
Enumeration that defines the standard Caplin logging levels.
|
Remarks
An example ConsoleLogger is supplied with the API. However it is recommended that you only use this implementation for internal debugging purposes while you are developing your Caplin enabled application. Your deployed application should use a more fully functioned logging framework, such as Apache log4net, which offers a wider range of logging options.