Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 746 Bytes

File metadata and controls

52 lines (36 loc) · 746 Bytes

external help file: NLogModule-help.xml online version: schema: 2.0.0

New-NLogTarget

SYNOPSIS

Creates a new logging target

SYNTAX

New-NLogTarget [-TargetType] <String>

DESCRIPTION

Logging targets are required to write down the log messages somewhere

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

$myFilelogtarget = New-NLogTarget -targetType "file"

PARAMETERS

-TargetType

Type of target to return, Console, file, or mail are supported.

Type: String
Parameter Sets: (All)
Aliases: 

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

INPUTS

OUTPUTS

NOTES

RELATED LINKS