 | LoggingConfigurationFindTargetByName Method (String) |
Finds the target with the specified name.
Namespace:
NLog.Config
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic Target FindTargetByName(
string name
)
Public Function FindTargetByName (
name As String
) As Target
Dim instance As LoggingConfiguration
Dim name As String
Dim returnValue As Target
returnValue = instance.FindTargetByName(name)
member FindTargetByName :
name : string -> Target
Parameters
- name
- Type: SystemString
The name of the target to be found.
Return Value
Type:
Target
Found target or
when the target is not found.
See Also