void HugoCorporateActions_OnError(object sender, EventArgs e)
 {
     if (m_errorEventHandler != null)
     {
         HugoCorporateActionsLoggingEventArgs args = (HugoCorporateActionsLoggingEventArgs)e;
         m_errorEventHandler(null, new LoggingEventArgs(args.Source, args.Message, args.Exception));
     }
 }
 void HugoCorporateActions_OnInfo(object sender, EventArgs e)
 {
     if (m_infoEventHandler != null)
     {
         HugoCorporateActionsLoggingEventArgs args = (HugoCorporateActionsLoggingEventArgs)e;
         m_infoEventHandler(null, new LoggingEventArgs(args.Source, args.Message));
     }
 }
        private static void Utilities_OnInfo(object sender, EventArgs e)
        {
            HugoCorporateActionsLoggingEventArgs args = (HugoCorporateActionsLoggingEventArgs)e;

            s_logger.Info(args.Message);
        }
        private static void Utilities_OnError(object sender, EventArgs e)
        {
            HugoCorporateActionsLoggingEventArgs args = (HugoCorporateActionsLoggingEventArgs)e;

            s_logger.Error(args.Message, args.Exception);
        }