private Log(MethodBase callerMethod) { Type callerType; if ((callerType = callerMethod.DeclaringType) != null) { _log = Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType); LogAssemblyVersion(callerType.Assembly); } else { _log = Ext.EventID.EventIDLogManager.GetLogger(callerMethod.Name); } }
public Log(String Name) { _log = Ext.EventID.EventIDLogManager.GetLogger(Name); }
public Log(Type callerType) { _log = Ext.EventID.EventIDLogManager.GetLogger(callerType.Assembly, callerType); LogAssemblyVersion(callerType.Assembly); }