C# Class Open.Core.LogWriter

An output log.
Inheritance: ModelBase, ILog
Afficher le fichier Open project: philcockfield/Open.TestHarness.SL Class Usage Examples

Méthodes publiques

Свойство Type Description
ClassIcon string
EventIcon string

Private Properties

Свойство Type Description
ToIconPath string
WriteInternal void
WriteSeverity void

Méthodes publiques

Méthode Description
Clear ( ) : void
Debug ( object message ) : void

Writes a debug message to the log.

Error ( object message ) : void

Writes an error message to the log.

Event ( object message ) : void
Info ( object message ) : void

Writes a informational message to the log.

LineBreak ( ) : void

Inserts a line break to the log.

LogWriter ( ) : System

Constructor.

NewSection ( ) : void

Inserts a new section divider.

Success ( object message ) : void

Writes a success message to the log.

Title ( string message ) : void

Writes a informational message to the log (as a bold title).

Warning ( object message ) : void

Writes a warning to the log.

Write ( object message, string backgroundColor ) : void
WriteDictionary ( object instance, string title ) : void
WriteIcon ( object message, Icons icon, string backgroundColor ) : void
WriteList ( string title, string backgroundColor ) : IHtmlList
WriteListSeverity ( string title, LogSeverity severity ) : IHtmlList
WriteProperties ( object instance, string title ) : void
WriteSeverity ( object message, LogSeverity severity, Icons icon ) : void

Méthodes protégées

Méthode Description
OnDisposed ( ) : void

Destructor.

Private Methods

Méthode Description
ToIconPath ( LogSeverity severity ) : string
WriteInternal ( object message, string cssClass, string backgroundColor, string iconPath ) : void
WriteSeverity ( object message, LogSeverity severity ) : void

Method Details

Clear() public méthode

public Clear ( ) : void
Résultat void

Debug() public méthode

Writes a debug message to the log.
public Debug ( object message ) : void
message object The messge to write (HTML).
Résultat void

Error() public méthode

Writes an error message to the log.
public Error ( object message ) : void
message object The messge to write (HTML).
Résultat void

Event() public méthode

public Event ( object message ) : void
message object
Résultat void

Info() public méthode

Writes a informational message to the log.
public Info ( object message ) : void
message object The messge to write (HTML).
Résultat void

LineBreak() public méthode

Inserts a line break to the log.
public LineBreak ( ) : void
Résultat void

LogWriter() public méthode

Constructor.
public LogWriter ( ) : System
Résultat System

NewSection() public méthode

Inserts a new section divider.
public NewSection ( ) : void
Résultat void

OnDisposed() protected méthode

Destructor.
protected OnDisposed ( ) : void
Résultat void

Success() public méthode

Writes a success message to the log.
public Success ( object message ) : void
message object The messge to write (HTML).
Résultat void

Title() public méthode

Writes a informational message to the log (as a bold title).
public Title ( string message ) : void
message string The messge to write (HTML).
Résultat void

Warning() public méthode

Writes a warning to the log.
public Warning ( object message ) : void
message object The messge to write (HTML).
Résultat void

Write() public méthode

public Write ( object message, string backgroundColor ) : void
message object
backgroundColor string
Résultat void

WriteDictionary() public méthode

public WriteDictionary ( object instance, string title ) : void
instance object
title string
Résultat void

WriteIcon() public méthode

public WriteIcon ( object message, Icons icon, string backgroundColor ) : void
message object
icon Icons
backgroundColor string
Résultat void

WriteList() public méthode

public WriteList ( string title, string backgroundColor ) : IHtmlList
title string
backgroundColor string
Résultat IHtmlList

WriteListSeverity() public méthode

public WriteListSeverity ( string title, LogSeverity severity ) : IHtmlList
title string
severity LogSeverity
Résultat IHtmlList

WriteProperties() public méthode

public WriteProperties ( object instance, string title ) : void
instance object
title string
Résultat void

WriteSeverity() public méthode

public WriteSeverity ( object message, LogSeverity severity, Icons icon ) : void
message object
severity LogSeverity
icon Icons
Résultat void

Property Details

ClassIcon public_oe static_oe property

public static string ClassIcon
Résultat string

EventIcon public_oe static_oe property

public static string EventIcon
Résultat string