Example #1
0
        public static void Log(ILogDefinition def, params object[] args)
        {
            ILogger logger = _logger;

            ParameterGuard.NullCheck(logger, nameof(_logger));
            logger.Log(def, args);
        }
Example #2
0
 /// <summary>
 /// Export command constructor
 /// </summary>
 /// <param name="log"></param>
 public ExportMarketCommand(ILogDefinition log)
 {
     _log = log;
 }
Example #3
0
 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;
 }
Example #5
0
 /// <summary>
 /// Diagnostic command constructor
 /// </summary>
 /// <param name="log"></param>
 public DiagnosticCommand(ILogDefinition log)
 {
     _log = log;
 }