C# Class pt.sapo.gis.trace.Trace

Type that represents a trace
Inheritance: ITrace
Afficher le fichier Open project: sapo/sapo-services-sdk

Protected Properties

Свойство Type Description
context ThreadLocal>

Méthodes publiques

Méthode Description
BeginEntry ( ) : Entry

Start a new entry context. Every entry added after this will be added as sub entry of this one.

BeginEntry ( Entry entry ) : Entry

Start a new entry context. Every entry added after this will be added as sub entry of this one.

BeginEntry ( String description, severityType severity ) : Entry

Start a new entry context. Every entry added after this will be added as sub entry of this one.

BeginEntry ( String description, severityType severity, Object>.IDictionary properties ) : Entry

Start a new entry context. Every entry added after this will be added as sub entry of this one.

EndEntry ( ) : void

Ends the current entry context, adding it to the trace entries list or to the parent entry if it was created inside a context

Finish ( ) : void

Finishes the trace closing all the open context entries

GetSeverityTypes ( ) : ISet

Gets all severity types that exists on trace entries, including sub entries

Trace ( ) : System

Creates a new trace

Trace ( System.Guid id, String contextId ) : System

Creates a new trace with a given identifier and context identifier

TraceEntry ( Entry entry ) : void

Trace a new entry

Private Methods

Méthode Description
AddEntry ( Entry entry ) : void
GetEntrySeverityTypes ( Entry entry, ISet severities ) : void

Method Details

BeginEntry() public méthode

Start a new entry context. Every entry added after this will be added as sub entry of this one.
public BeginEntry ( ) : Entry
Résultat Entry

BeginEntry() public méthode

Start a new entry context. Every entry added after this will be added as sub entry of this one.
public BeginEntry ( Entry entry ) : Entry
entry Entry the entry to start the new context
Résultat Entry

BeginEntry() public méthode

Start a new entry context. Every entry added after this will be added as sub entry of this one.
public BeginEntry ( String description, severityType severity ) : Entry
description String the new entry description
severity severityType the new entry severity type
Résultat Entry

BeginEntry() public méthode

Start a new entry context. Every entry added after this will be added as sub entry of this one.
public BeginEntry ( String description, severityType severity, Object>.IDictionary properties ) : Entry
description String the new entry description
severity severityType the new entry severity type
properties Object>.IDictionary the new entry properties map
Résultat Entry

EndEntry() public méthode

Ends the current entry context, adding it to the trace entries list or to the parent entry if it was created inside a context
public EndEntry ( ) : void
Résultat void

Finish() public méthode

Finishes the trace closing all the open context entries
public Finish ( ) : void
Résultat void

GetSeverityTypes() public méthode

Gets all severity types that exists on trace entries, including sub entries
public GetSeverityTypes ( ) : ISet
Résultat ISet

Trace() public méthode

Creates a new trace
public Trace ( ) : System
Résultat System

Trace() public méthode

Creates a new trace with a given identifier and context identifier
public Trace ( System.Guid id, String contextId ) : System
id System.Guid
contextId String Trace context identifier
Résultat System

TraceEntry() public méthode

Trace a new entry
public TraceEntry ( Entry entry ) : void
entry Entry entry the entry to add to the trace
Résultat void

Property Details

context protected_oe property

protected ThreadLocal> context
Résultat ThreadLocal>