Class Tracer
Definition
- Namespace:
- Tizen
- Assembly:
- Tizen.Tracer.dll
Provides functions for writing a trace message to the system trace buffer.
C#Copypublic static class Tracer
- Inheritance
-
objectTracer
Methods
AsyncBegin(int, string)
Writes a trace event to indicate that an asynchronous event has begun.
Declaration
C#Copypublic static void AsyncBegin(int cookie, string name)
Parameters
Type | Name | Description |
---|---|---|
int | cookie | An unique identifier for distinguishing simultaneous events. |
string | name | The name of an event (optionally containing format specifiers). |
Remarks
The specific error code can be obtained using the Tizen.Internals.Errors.ErrorFacts.GetLastResult() method.
See Also
AsyncEnd(int, string)
Writes a trace event to indicate that an asynchronous event has ended.
Declaration
C#Copypublic static void AsyncEnd(int cookie, string name)
Parameters
Type | Name | Description |
---|---|---|
int | cookie | An unique identifier for distinguishing simultaneous events. |
string | name | The name of an event (optionally containing format specifiers). |
Remarks
Tizen.Tracer.AsyncEnd() ends matched Tizen.Tracer.AsyncBegin() which has the same cookie and name. The specific error code can be obtained using the Tizen.Internals.Errors.ErrorFacts.GetLastResult() method.
See Also
Declaration
C#Copypublic static void Begin(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of an event (optionally containing format specifiers). |
Remarks
The specific error code can be obtained using the Tizen.Internals.Errors.ErrorFacts.GetLastResult() method.
See Also
Declaration
C#Copypublic static void End()
Remarks
Tizen.Tracer.End() ends the most recently called Tizen.Tracer.Begin(). The specific error code can be obtained using the Tizen.Internals.Errors.ErrorFacts.GetLastResult() method.
See Also
Declaration
C#Copypublic static void TraceValue(int value, string name)
Parameters
Type | Name | Description |
---|---|---|
int | value | The integer variable to trace. |
string | name | The name of an event (optionally containing format specifiers). |
Remarks
The specific error code can be obtained using the Tizen.Internals.Errors.ErrorFacts.GetLastResult() method.