MTSC  1.0.5
Build TCP servers out of modules with handlers for communication, exception and logging.
MTSC.Logging.ILogger Interface Reference

Interface for loggers. More...

Inheritance diagram for MTSC.Logging.ILogger:
MTSC.Logging.ConsoleLogger MTSC.Logging.DebugConsoleLogger

Public Member Functions

bool Log (string message)
 Logs the received message. More...
 
bool LogDebug (string message)
 Logs the received debug message. More...
 

Detailed Description

Interface for loggers.

Definition at line 10 of file ILogger.cs.

Member Function Documentation

◆ Log()

bool MTSC.Logging.ILogger.Log ( string  message)

Logs the received message.

Parameters
messageMessage to be received.
Returns
True if the message has been logged and no other logger should log this message.

Implemented in MTSC.Logging.ConsoleLogger, and MTSC.Logging.DebugConsoleLogger.

◆ LogDebug()

bool MTSC.Logging.ILogger.LogDebug ( string  message)

Logs the received debug message.

Parameters
messageDebug message to be logged.
Returns
True if the message has been logged and no other logger should log this message.

Implemented in MTSC.Logging.ConsoleLogger, and MTSC.Logging.DebugConsoleLogger.


The documentation for this interface was generated from the following file: