C# 클래스 pt.sapo.gis.trace.Trace

Type that represents a trace
상속: ITrace
파일 보기 프로젝트 열기: sapo/sapo-services-sdk

보호된 프로퍼티들

프로퍼티 타입 설명
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>