Creates a new Trace log entry.

Namespace: Keystone.Almanac
Assembly: Keystone.Almanac (in Keystone.Almanac.dll)

public Trace( 
string message
Nullable<int> id = null, 
string operationName = "not set", 
Severity severity = Severity.Low, 
Exception exception = null 
)
This language is not supported or no code example is available.

Parameters

message

Type: string

A brief explanatory text of this entry.

id

Type: Nullable<int>

The cataloged number or error code that identifies well known entries.

operationName

Type: string

The operation name associated to this entry.

severity

Type: Severity

The application dependent degree of impact or relevance of this entry.

exception

Type: Exception

Optional parameter that defines the exception if any, associated to this entry.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono