C# Class System.Diagnostics.LogSwitch

Datei anzeigen Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
CheckLevel ( LoggingLevels level ) : bool
GetSwitch ( String name ) : LogSwitch
LogSwitch ( String name, String description, LogSwitch parent ) : System

Private Methods

Method Description
AddChildSwitch ( LogSwitch child ) : void
LogSwitch ( ) : System
LogSwitch ( String name, String description ) : System

Method Details

CheckLevel() public method

public CheckLevel ( LoggingLevels level ) : bool
level LoggingLevels
return bool

GetSwitch() public static method

public static GetSwitch ( String name ) : LogSwitch
name String
return LogSwitch

LogSwitch() public method

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