Table of Contents

Class LogExceptionExt

Namespace
Tlabs
Assembly
Tlabs.Core.dll

Helper Exception extension to log exceptions within catch() when ( ) clauses.

public static class LogExceptionExt
Inheritance
LogExceptionExt
Inherited Members

Methods

LogDiagnostics(Exception, string, params object[])

Log debug diagnostics and return false.

public static bool LogDiagnostics(this Exception ex, string msg, params object[] args)

Parameters

ex Exception
msg string
args object[]

Returns

bool

LogError(Exception, ILogger, string, params object[])

Log error and return false.

public static bool LogError(this Exception ex, ILogger log, string msg, params object[] args)

Parameters

ex Exception
log ILogger
msg string
args object[]

Returns

bool

LogWarn(Exception, ILogger, string, params object[])

Log warning (w/o stack trace) and return false.

public static bool LogWarn(this Exception ex, ILogger log, string msg, params object[] args)

Parameters

ex Exception
log ILogger
msg string
args object[]

Returns

bool