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
messagestringError 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
messagestringMessage to log in logging window of main window of VirtualLab.
LogMessage(ErrorWarningOrMessage)
Outputs a general message.
void LogMessage(ErrorWarningOrMessage message)
Parameters
messageErrorWarningOrMessageThe 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
strstringString 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
messagestringWarning message (string does not have to contain the word "warning")
to log in logging window of main window of VirtualLab.