Class LogSection
A log section will execute your code block, wrapping the action with log messages indicating start and end.
Namespace: ETLBox.Logging
Assembly: ETLBox.Logging.dll
Syntax#
Constructors
LogSection(string)#
Declaration
Parameters
Methods
Execute(Action)#
Declaration
Parameters
Execute(string, Action)#
Declaration
Parameters
Execute<t1>(Action<t1>, t1)#
Declaration
Parameters
Type | Name | Description |
---|
Action<t1> | task | |
t1 | param1 | |
Type Parameters
Execute<t1>(string, Action<t1>, t1)#
Declaration
Parameters
Type Parameters
Execute<t1, t2>(Action<t1, t2>, t1, t2)#
Declaration
Parameters
Type | Name | Description |
---|
Action<t1, t2> | task | |
t1 | param1 | |
t2 | param2 | |
Type Parameters
Execute<t1, t2>(string, Action<t1, t2>, t1, t2)#
Declaration
Parameters
Type | Name | Description |
---|
string | name | |
Action<t1, t2> | task | |
t1 | param1 | |
t2 | param2 | |
Type Parameters
Implements#