Share via


BuildParameters.UseSynchronousLogging Property

Definition

By default if the number of processes is set to 1 we will use Asynchronous logging. However if we want to use synchronous logging when the number of cpu's is set to 1 this property needs to be set to true.

public:
 property bool UseSynchronousLogging { bool get(); void set(bool value); };
public bool UseSynchronousLogging { get; set; }
public bool UseSynchronousLogging { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.UseSynchronousLogging : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.UseSynchronousLogging : bool with get, set
Public Property UseSynchronousLogging As Boolean

Property Value

Returns a switch that specifies whether synchronous logging is used when there is only a single process; if true, use synchronous logging, otherwise use asynchronous logging.

Attributes

Applies to