< Back

Set-MinimumLevel

Sat Jan 18, 2020 8:21 pm

NAME Set-MinimumLevel



SYNTAX

Set-MinimumLevel -loggerConfig <LoggerConfiguration> -MinimumLevel {Verbose | Debug | Information | Warning |

Error | Fatal} [<CommonParameters>]



Set-MinimumLevel -loggerConfig <LoggerConfiguration> -ControlledBy <LoggingLevelSwitch> [<CommonParameters>]





PARAMETERS

-ControlledBy <LoggingLevelSwitch>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name Switch

Aliases None

Dynamic? false



-MinimumLevel <LogEventLevel>



Required? true

Position? Named

Accept pipeline input? false

Parameter set name Level

Aliases None

Dynamic? false



-loggerConfig <LoggerConfiguration>



Required? true

Position? Named

Accept pipeline input? true (ByValue)

Parameter set name (All)

Aliases None

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

Serilog.LoggerConfiguration





OUTPUTS

System.Object



ALIASES

None





REMARKS

None