C# Class Fusion.Log

Show file Open project: demiurghg/FusionEngine

Public Methods

Method Description
AddListener ( LogListener listener ) : void

Adds Log listener.

Debug ( string message ) : void

Logs debug message.

Dump ( byte array ) : void

Error ( string message ) : void

Logs error message.

Fatal ( string message ) : void

Logs fatal error message.

Message ( string message ) : void

Logs information message

PrintException ( Exception e, string format ) : void

RemoveListener ( LogListener listener ) : void

Removes Log listener.

Verbose ( string message ) : void

Logs verbose message

Warning ( string message ) : void

Logs warning message.

Private Methods

Method Description
AddMessage ( LogMessageType type, string text ) : void

Method Details

AddListener() public static method

Adds Log listener.
public static AddListener ( LogListener listener ) : void
listener LogListener
return void

Debug() public static method

Logs debug message.
public static Debug ( string message ) : void
message string
return void

Dump() public static method

public static Dump ( byte array ) : void
array byte
return void

Error() public static method

Logs error message.
public static Error ( string message ) : void
message string
return void

Fatal() public static method

Logs fatal error message.
public static Fatal ( string message ) : void
message string
return void

Message() public static method

Logs information message
public static Message ( string message ) : void
message string
return void

PrintException() public static method

public static PrintException ( Exception e, string format ) : void
e System.Exception
format string
return void

RemoveListener() public static method

Removes Log listener.
public static RemoveListener ( LogListener listener ) : void
listener LogListener
return void

Verbose() public static method

Logs verbose message
public static Verbose ( string message ) : void
message string
return void

Warning() public static method

Logs warning message.
public static Warning ( string message ) : void
message string
return void