Interface ILogger

Provides an interface for logging

Namespace: VoltRpc.Logging
Assembly: VoltRpc.dll
Syntax
public interface ILogger

Properties

| Edit this page View Source

LogVerbosity

Logging level

Declaration
LogVerbosity LogVerbosity { get; set; }
Property Value
TypeDescription
LogVerbosity

Methods

| Edit this page View Source

Debug(string)

Log a debug message

Declaration
void Debug(string message)
Parameters
TypeNameDescription
stringmessage
| Edit this page View Source

Error(string)

Log a error message

Declaration
void Error(string message)
Parameters
TypeNameDescription
stringmessage
| Edit this page View Source

Info(string)

Log a info message

Declaration
void Info(string message)
Parameters
TypeNameDescription
stringmessage
| Edit this page View Source

Warn(string)

Log a waring message

Declaration
void Warn(string message)
Parameters
TypeNameDescription
stringmessage