Méthode | Description | |
---|---|---|
AddChannel ( string name ) : int |
Registers a new channel for use
|
|
DeleteChannel ( int channel ) : void |
Deletes a channel
|
|
DisableCaching ( ) : void |
Disables Caching. This will clear the cache. Cached messaged will be stored in Cache
|
|
DisableChannel ( int channel ) : void |
Disables a channel. Disabled channels messages will not get logged
|
|
EnableCaching ( ) : void |
Enabled Caching. This will clear the cache. Cached messaged will be stored in Cache
|
|
EnableChannel ( int channel ) : void |
Enabled a channel. Enabled channels messages will get logged
|
|
GetChannelId ( string name ) : int |
Returns the assigned channel id of a registered channel
|
|
GetChannelName ( int channel ) : string |
Returns to corresponding channel name of a identifier
|
|
Log ( int channel, string message ) : void |
Loggs a message. The message will only cause the MessageListened event to occur if the calling channel is enabled
|
public static AddChannel ( string name ) : int | ||
name | string | The name of the channel |
Résultat | int |
public static DeleteChannel ( int channel ) : void | ||
channel | int | The int identifier of the channel |
Résultat | void |
public static DisableChannel ( int channel ) : void | ||
channel | int | The channel identifier |
Résultat | void |
public static EnableChannel ( int channel ) : void | ||
channel | int | The channel identifier |
Résultat | void |
public static GetChannelId ( string name ) : int | ||
name | string | The channels name |
Résultat | int |
public static GetChannelName ( int channel ) : string | ||
channel | int | The channels identifier |
Résultat | string |
public static Log ( int channel, string message ) : void | ||
channel | int | The calling channel |
message | string | The channels message |
Résultat | void |