TLogger Class
Helper that forwards log messages to an ILogEngine, when one is assigned.
Syntax
Unit: Sparkle.Logger
TLogger = class(TObject);
Methods
| Name | Description |
|---|---|
| Debug | Sends a debug message to the log engine. Does nothing when no engine is assigned. |
| Log | Sends a message to the log engine. Does nothing when no engine is assigned. |
Properties
| Name | Description |
|---|---|
| LogEngine | Gets or sets the engine that receives the messages. When nil, messages are discarded. |