C# Класс pt.sapo.gis.trace.Trace

Type that represents a trace
Наследование: ITrace
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
context ThreadLocal>

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddEntry ( Entry entry ) : void
GetEntrySeverityTypes ( Entry entry, ISet severities ) : void

Описание методов

BeginEntry() публичный Метод

Start a new entry context. Every entry added after this will be added as sub entry of this one.
public BeginEntry ( ) : Entry
Результат Entry

BeginEntry() публичный Метод

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
Результат Entry

BeginEntry() публичный Метод

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
Результат Entry

BeginEntry() публичный Метод

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
Результат Entry

EndEntry() публичный Метод

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
Результат void

Finish() публичный Метод

Finishes the trace closing all the open context entries
public Finish ( ) : void
Результат void

GetSeverityTypes() публичный Метод

Gets all severity types that exists on trace entries, including sub entries
public GetSeverityTypes ( ) : ISet
Результат ISet

Trace() публичный Метод

Creates a new trace
public Trace ( ) : System
Результат System

Trace() публичный Метод

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
Результат System

TraceEntry() публичный Метод

Trace a new entry
public TraceEntry ( Entry entry ) : void
entry Entry entry the entry to add to the trace
Результат void

Описание свойств

context защищенное свойство

protected ThreadLocal> context
Результат ThreadLocal>