private void LogMessage(string message) { if (TraceDebug()) { UtilsLogger.LogMessage(this.GetType(), message); } }
public Parameters(XmlElement taskNode, UtilsLogger logger) { logger.WriteToLog("Beginning Parameters() constructor", LogLevel.Verbose); logger.WriteToLog("taskNode: " + taskNode.OuterXml, LogLevel.Verbose); InputFilePath = taskNode.GetAttribute("InputFilePath"); ProcessedFilePath = taskNode.GetAttribute("ProcessedFilePath"); ReportFilePath = taskNode.GetAttribute("OutputFilePath"); logger.WriteToLog("Instantiated Parameters", LogLevel.Verbose); }
public Parameters(XmlElement taskNode, UtilsLogger logger) { logger.WriteToLog("Beginning Parameters() constructor", LogLevel.Verbose); logger.WriteToLog("taskNode: " + taskNode.OuterXml, LogLevel.Verbose); //Location = taskNode.GetAttribute("Locations"); //EventCode = taskNode.GetAttribute("EventCode"); CallType = taskNode.GetAttribute("CallType"); logger.WriteToLog("Instantiated Parameters", LogLevel.Verbose); }
private void LogMessage(string message) { UtilsLogger.LogMessage(string.Format("{0} > {1}", "[WebApiTransactionFilter]=>", message)); }
private void LogMessage(string message) { UtilsLogger.LogMessage(this.GetType(), message); }
private void LogMessage(string message) { UtilsLogger.LogMessage(typeof(Global), "[" + this.GetHashCode() + "] " + ">>>>>>>>>>" + message); }
// Static constructor static DataProcessor() { Logger = new UtilsLogger(LogManager); Logger.WriteToLog("Logger Instantiated", LogLevel.Basic); }
public Context(ServerContext serverContext, UtilsLogger logger) : base(serverContext) { Logger = logger; }
// Constructors public Context(UtilsLogger logger) : base() { Errors = new List <BaseCustomException>(); Logger = logger; }
private void LogMessage(string message, ITransactionManager transactionManager) { UtilsLogger.LogMessage(string.Format("{0} > {1}", transactionManager.GetHashCode(), message)); }
private static void LogMessage(string message) { UtilsLogger.LogMessage(typeof(MyApplicationLifecycle), ">>>>>>>>>>" + message); }
private void LogMessage(string message) { UtilsLogger.LogMessage(typeof(WebApiTxActionFilter), "[" + this.GetHashCode() + "] " + ">>>>>>>>>>" + message); }