Class LogEndpointOptions
Options for log endpoints.
public class LogEndpointOptions : EndpointOptions
Inheritance
Inherited Members
EndpointOptions.BindableOptions(Type),EndpointOptions.BindFromUri(IReadOnlyDictionary<string, string>),EndpointOptions.IsLenient(Type),EndpointOptions.OptionValueHint(string),EndpointOptions.ResolveOption(string?, IExchange),EndpointOptions.RoleOf(PropertyInfo),EndpointOptions.UnknownParameterHint(string),EndpointOptions.UnmappedParameters,EndpointOptions.Validate(),EndpointOptions.WrittenBesideConnectionFactory(Type, EndpointUri),EndpointOptions.WrittenForOtherRole(Type, EndpointUri, EndpointRole)
Properties
Level
Log level name (default: "Information"), any case: the .NET names Trace, Debug, Information, Warning, Error,
public string Level { get; set; }
ShowBody
Whether to include body in the log output (default: true).
public bool ShowBody { get; set; }
ShowHeaders
Whether to include headers in the log output (default: true).
public bool ShowHeaders { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()