Class LogProxy
Proxy for Serilog logging, to make the transition from logfornet require fewer code changes.
Inherited Members
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 |