| SimpleConfiguratorConfigureForConsoleLogging Method |
Note: This API is now obsolete.
Configures NLog for console logging so that all messages above and including
the
Info level are output to the console.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.2.0+eed5f76d158dbcaef9326f7a0e1c281adad171e8
Syntax [ObsoleteAttribute("Use LogManager.Setup().LoadConfiguration(c => c.ForLogger().WriteToConsole()) instead. Marked obsolete on NLog 5.2")]
public static void ConfigureForConsoleLogging()
<ObsoleteAttribute("Use LogManager.Setup().LoadConfiguration(c => c.ForLogger().WriteToConsole()) instead. Marked obsolete on NLog 5.2")>
Public Shared Sub ConfigureForConsoleLogging
SimpleConfigurator.ConfigureForConsoleLogging()
[<ObsoleteAttribute("Use LogManager.Setup().LoadConfiguration(c => c.ForLogger().WriteToConsole()) instead. Marked obsolete on NLog 5.2")>]
static member ConfigureForConsoleLogging : unit -> unit
See Also