nuget server logo nuget api documents
↑

API Docs / Microsoft.VisualBasic.Runtime / ParamLogUtility

ParamLogUtility

Full name Microsoft.VisualBasic.Emit.Parameters.ParamLogUtility Assembly Microsoft.VisualBasic.Runtime Members 5

Exception is a common issue in projects. To track this exception, we use error loggers which only log the exception detail and some other information if you want to. But hardly do we get any idea for which input set(parameters and its values) a particular method is throwing the error.

00 Remarks

https://www.codeproject.com/tips/795865/log-all-parameters-that-were-passed-to-some-method

01 Syntax

Microsoft.VisualBasic.Emit.Parameters.ParamLogUtility

02 Methods

NameOverloadsSummary
AcquireOrder 1 这个方法要求传递进来的参数的顺序要和原函数的参数的顺序一致,故而不太推荐使用这个方法
GetMyCaller 1
Acquire 2
InitTable 1

03 Members

method AcquireOrder #
AcquireOrder(Object())

这个方法要求传递进来的参数的顺序要和原函数的参数的顺序一致,故而不太推荐使用这个方法

Parameters
NameTypeDescription
parametersObject()

-

method GetMyCaller #
GetMyCaller()
method Acquire #
Acquire(Expression(Of Func(Of Object))())
method Acquire overload 2 #
Acquire(MethodBase, Expression(Of Func(Of Object))())
method InitTable #
InitTable(MethodBase, Expression(Of Func(Of Object())))