C# Class MetroLog.XamlExtensionMethods

Extension methods for adding logging to XAML types.
ファイルを表示 Open project: onovotny/MetroLog

Public Methods

Method Description
GetLogger ( this control, LoggingConfiguration config = null ) : ILogger

Gets a logger for the given control instance.

Method Details

GetLogger() public static method

Gets a logger for the given control instance.
public static GetLogger ( this control, LoggingConfiguration config = null ) : ILogger
control this
config LoggingConfiguration Optional configuration.
return ILogger