public static void Log(ILogDefinition def, params object[] args) { ILogger logger = _logger; ParameterGuard.NullCheck(logger, nameof(_logger)); logger.Log(def, args); }
/// <summary> /// Export command constructor /// </summary> /// <param name="log"></param> public ExportMarketCommand(ILogDefinition log) { _log = log; }
public void Log(ILogDefinition def, params object[] args) { Console.WriteLine(def.Code + "\t" + def.Text, args); }
/// <summary> /// ExportSecurityCommand constructor /// </summary> /// <param name="log"></param> public ExportSecurityCommand(ILogDefinition log) { _log = log; }
/// <summary> /// Diagnostic command constructor /// </summary> /// <param name="log"></param> public DiagnosticCommand(ILogDefinition log) { _log = log; }