C# Class SkyNet.Log

Global log class
ファイルを表示 Open project: hipolipolopigus/SkyNet_Old

Public Methods

Method Description
Add ( Type Type, string Data ) : void

Add an event to the log

PrintAll ( ) : void

Print all events to the console

ToFile ( string Filename ) : void

Save the log to a file

Method Details

Add() public static method

Add an event to the log
public static Add ( Type Type, string Data ) : void
Type System.Type The Log.Type to record
Data string The data of the event
return void

PrintAll() public static method

Print all events to the console
public static PrintAll ( ) : void
return void

ToFile() public static method

Save the log to a file
public static ToFile ( string Filename ) : void
Filename string The file to save to
return void