Show / Hide Table of Contents

Class LogProxy

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

Inheritance
System.Object
LogProxy
Namespace: Algenta.Colectica.Model.Utility
Assembly: Algenta.Colectica.Model.dll
Syntax
public class LogProxy : object

Methods

Debug(String)

Calls the Serilog Debug method.

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

Debug(String, Exception)

Calls the Serilog Debug method.

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

Error(String)

Calls the Serilog Error method.

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

Error(String, Exception)

Calls the Serilog Error method.

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

Fatal(String)

Calls the Serilog Fatal method.

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

Info(String)

Calls the Serilog Info method.

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

Warn(String)

Calls the Serilog Warning method.

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

Warn(String, Exception)

Calls the Serilog Warning method

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

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica