Show / Hide Table of Contents

Class LogProxy

Proxy for Serilog logging, to make the transition from logfornet require fewer code changes.

Inheritance
object
LogProxy
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class LogProxy

Methods

Debug(string)

Calls the Serilog Debug method.

Declaration
public void Debug(string msg)
Parameters
Type Name Description
string msg

Debug(string, Exception)

Calls the Serilog Debug method.

Declaration
public void Debug(string msg, Exception ex)
Parameters
Type Name Description
string msg
Exception ex

Error(string)

Calls the Serilog Error method.

Declaration
public void Error(string msg)
Parameters
Type Name Description
string msg

Error(string, Exception)

Calls the Serilog Error method.

Declaration
public void Error(string msg, Exception ex)
Parameters
Type Name Description
string msg
Exception ex

Fatal(string)

Calls the Serilog Fatal method.

Declaration
public void Fatal(string msg)
Parameters
Type Name Description
string msg

Info(string)

Calls the Serilog Info method.

Declaration
public void Info(string msg)
Parameters
Type Name Description
string msg

Warn(string)

Calls the Serilog Warning method.

Declaration
public void Warn(string msg)
Parameters
Type Name Description
string msg

Warn(string, Exception)

Calls the Serilog Warning method

Declaration
public void Warn(string msg, Exception e)
Parameters
Type Name Description
string msg
Exception e

Extension Methods

Extensions.Yield<T>(T)
In this article
Back to top Generated by DocFX