Exemple #1
0
 private void LogMessage(string message)
 {
     if (TraceDebug())
     {
         UtilsLogger.LogMessage(this.GetType(), message);
     }
 }
Exemple #2
0
        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));
 }
Exemple #5
0
 private void LogMessage(string message)
 {
     UtilsLogger.LogMessage(this.GetType(), message);
 }
Exemple #6
0
 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;
 }
Exemple #10
0
 private void LogMessage(string message, ITransactionManager transactionManager)
 {
     UtilsLogger.LogMessage(string.Format("{0} > {1}", transactionManager.GetHashCode(), message));
 }
Exemple #11
0
 private static void LogMessage(string message)
 {
     UtilsLogger.LogMessage(typeof(MyApplicationLifecycle), ">>>>>>>>>>" + message);
 }
Exemple #12
0
 private void LogMessage(string message)
 {
     UtilsLogger.LogMessage(typeof(WebApiTxActionFilter), "[" + this.GetHashCode() + "] " + ">>>>>>>>>>" + message);
 }