SubscribeToAssembly() public method

Subscribes to the publisher of the specified assembly with the specified verbose level.
public SubscribeToAssembly ( Assembly assembly, VerboseLevel level ) : void
assembly System.Reflection.Assembly
level VerboseLevel
return void
        /// <summary>
        /// Creates a new <see cref="ServiceHost"/> instance.
        /// </summary>
        public ServiceHost()
        {
            ServiceName = "openHistorian";

            m_logSubscriber = Logger.CreateSubscriber();
            m_logSubscriber.SubscribeToAssembly(typeof(Number).Assembly, VerboseLevel.High);
            m_logSubscriber.SubscribeToAssembly(typeof(HistorianKey).Assembly, VerboseLevel.High);
            m_logSubscriber.NewLogMessage += m_logSubscriber_Log;
        }