System.Diagnostics.LogSwitch.LogSwitch C# (CSharp) Method

LogSwitch() private method

private LogSwitch ( String name, String description ) : System
name String
description String
return System
    	internal LogSwitch(String name, String description)
    	{
    		strName = name;
    		strDescription = description;
    		iLevel = LoggingLevels.ErrorLevel;
    		iOldLevel = iLevel;
    		ParentSwitch = null;
    		ChildSwitch  = null;
    		iNumChildren = 0;
    		iChildArraySize = 0;
    
    		Log.m_Hashtable.Add (strName, this);
    
    		// Call into the EE to let it know about the creation of
    		// this switch
    		Log.AddLogSwitch (this);
    
    		// update switch count
    		Log.iNumOfSwitches++;
    	}
    

Same methods

LogSwitch::LogSwitch ( ) : System
LogSwitch::LogSwitch ( String name, String description, LogSwitch parent ) : System