< Back
Add-SinkConsole
Post
NAME Add-SinkConsole
SYNTAX
Add-SinkConsole [-loggerConfig] <LoggerConfiguration> [[-RestrictedToMinimumLevel] {Verbose | Debug | Information
| Warning | Error | Fatal}] [[-OutputTemplate] <string>] [[-FormatProvider] <IFormatProvider>] [[-LevelSwitch]
<LoggingLevelSwitch>] [[-StandardErrorFromLevel] {Verbose | Debug | Information | Warning | Error | Fatal}]
[[-Theme] <ConsoleTheme>] [<CommonParameters>]
PARAMETERS
-FormatProvider <IFormatProvider>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-LevelSwitch <LoggingLevelSwitch>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-OutputTemplate <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-RestrictedToMinimumLevel <LogEventLevel>
Required? false
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-StandardErrorFromLevel <LogEventLevel>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Theme <ConsoleTheme>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-loggerConfig <LoggerConfiguration>
Required? true
Position? 0
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
SYNTAX
Add-SinkConsole [-loggerConfig] <LoggerConfiguration> [[-RestrictedToMinimumLevel] {Verbose | Debug | Information
| Warning | Error | Fatal}] [[-OutputTemplate] <string>] [[-FormatProvider] <IFormatProvider>] [[-LevelSwitch]
<LoggingLevelSwitch>] [[-StandardErrorFromLevel] {Verbose | Debug | Information | Warning | Error | Fatal}]
[[-Theme] <ConsoleTheme>] [<CommonParameters>]
PARAMETERS
-FormatProvider <IFormatProvider>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-LevelSwitch <LoggingLevelSwitch>
Required? false
Position? 4
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-OutputTemplate <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-RestrictedToMinimumLevel <LogEventLevel>
Required? false
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-StandardErrorFromLevel <LogEventLevel>
Required? false
Position? 5
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-Theme <ConsoleTheme>
Required? false
Position? 6
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-loggerConfig <LoggerConfiguration>
Required? true
Position? 0
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