ScopeContext allows one to give a scope name for an operation that can be async. When the scope begins then it automatically captures a timestamp. This can be used to show duration of the active scope.
Platforms Supported: All
Introduced in NLog 5.0 and replaces ${ndlctiming}
See also NLog Context and ${scopeproperty} and ${scopenested}
${scopetiming:currentScope=Boolean:StartTime=Boolean:format=String}
Boolean
. Default False
.Boolean
. Default False
TimeSpan.ToString(format)
. string
. Default null
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4