C# 클래스 SkyNet.Log

Global log class
파일 보기 프로젝트 열기: hipolipolopigus/SkyNet_Old

공개 메소드들

메소드 설명
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

메소드 상세

Add() 공개 정적인 메소드

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
리턴 void

PrintAll() 공개 정적인 메소드

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

ToFile() 공개 정적인 메소드

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