C# Class ScrewTurn.Wiki.Log

Records and retrieves Log Entries.
显示文件 Open project: mono/ScrewTurnWiki

Public Methods

Method Description
ClearLog ( ) : void

Clears the Log.

LogEntry ( string message, EntryType type, string user ) : void

Writes an Entry in the Log.

ReadEntries ( ) : List

Reads all the Log Entries (newest to oldest).

Method Details

ClearLog() public static method

Clears the Log.
public static ClearLog ( ) : void
return void

LogEntry() public static method

Writes an Entry in the Log.
public static LogEntry ( string message, EntryType type, string user ) : void
message string The Message.
type EntryType The Type of the Entry.
user string The User that generated the Entry.
return void

ReadEntries() public static method

Reads all the Log Entries (newest to oldest).
public static ReadEntries ( ) : List
return List