Class LogEndpointOptions

Assembly: redb.Route.dll

Options for log endpoints.

public class LogEndpointOptions : EndpointOptions

Inheritance

Object→EndpointOptions→LogEndpointOptions

Inherited Members

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()