Example #1
0
        private Log(MethodBase callerMethod)
        {
            Type callerType;

            if ((callerType = callerMethod.DeclaringType) != null)
            {
                _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType);

                LogAssemblyVersion(callerType.Assembly);
            }
            else
            {
                _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerMethod.Name);
            }
        }
Example #2
0
 public Log(String Name)
 {
     _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(Name);
 }
Example #3
0
        public Log(Type callerType)
        {
            _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType);

            LogAssemblyVersion(callerType.Assembly);
        }
Example #4
0
 public Log(String Name)
 {
     _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(Name);
 }
Example #5
0
        public Log(Type callerType)
        {
            _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType);

            LogAssemblyVersion(callerType.Assembly);
        }
Example #6
0
        private Log(MethodBase callerMethod)
        {
            Type callerType;
            if ((callerType = callerMethod.DeclaringType) != null)
            {
                _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType);

                LogAssemblyVersion(callerType.Assembly);
            }
            else
            {
                _log = SolarWinds.Logging.Ext.EventID.EventIDLogManager.GetLogger(callerMethod.Name);
            }
        }