Table of Contents

Interface ILogMessages

Namespace
Wyrowski.Infrastructure.Interfaces
Assembly
Wyrowski.Infrastructure.dll

Interface to log messages (especially errors and warnings).

public interface ILogMessages

Methods

LogError(string)

Outputs error message. Output format depends on current program settings.

void LogError(string message)

Parameters

message string

Error message (string does not have to contain the word "error")
to log in logging window of main window of VirtualLab.

LogMessage(string)

Writes a message to the logging window. Date, time, and line break are included.

void LogMessage(string message)

Parameters

message string

Message to log in logging window of main window of VirtualLab.

LogMessage(ErrorWarningOrMessage)

Outputs a general message.

void LogMessage(ErrorWarningOrMessage message)

Parameters

message ErrorWarningOrMessage

The message to display.

Exceptions

NotImplementedException

Case missing.

LogString(string)

Writes a string to the logging window. No line break is added.

void LogString(string str)

Parameters

str string

String to log in logging window of main window of VirtualLab.

LogWarning(string)

Outputs warning message. Output format depends on current program settings.

void LogWarning(string message)

Parameters

message string

Warning message (string does not have to contain the word "warning")
to log in logging window of main window of VirtualLab.