Table of Contents

Interface ILogger

Namespace
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.Utils
Assembly
Skyline.DataMiner.DataSources.OpenConfig.Gnmi.dll

An interface that makes it possible to log.

public interface ILogger
Extension Methods

Methods

LogDebug(string)

Logs a message when an action is undertaken. Recommended DataMiner log level: DEBUG, 1-3

LogError(string)

Logs a message when the process encountered an exception when handling a request. Recommended DataMiner log level: ERROR, 0

LogFatal(string)

Logs a message when the process encountered a problem that could not be handled without loss of functionality. Recommended DataMiner log level: ERROR, ALWAYS

LogInfo(string)

Logs a message for fundamental process execution. Recommended DataMiner log level: INFO, 0-1

LogTrace(string)

Logs a message to trace every action or function call being executed. Recommended DataMiner log level: DEBUG, 5

LogWarning(string)

Logs a message when the process received an invalid request. Recommended DataMiner log level: ERROR, 1