MainMenuTarget
A class in Root.Township, Alta.Logging.Targets.
NLog target named MainMenuTarget that sends log lines to the MainMenuLogger singleton, as info or error by level.
- Listed in Console, logging and analytics
- Inherits or implements
TargetWithLayout - Attributes
Target - Documented in Logging
Constructors
| Member | What it is |
|---|---|
MainMenuTarget() | Creates a MainMenuTarget with default values. |
Methods
| Member | What it is |
|---|---|
protected override void Write(LogEventInfo logEvent) | Sends the rendered message to MainMenuLogger: levels up to Warn as info, Error and Fatal (or any exception) as error. |