C# Класс SkyNet.Log

Global log class
Показать файл Открыть проект

Открытые методы

Метод Описание
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