Show / Hide Table of Contents

    Class Tracer

    Definition

    Namespace:
    Tizen
    Assembly:
    Tizen.Tracer.dll
    API Level:
    3

    Provides functions for writing a trace message to the system trace buffer.

    public static class Tracer
    Inheritance
    Object
    Tracer

    Methods

    View Source

    AsyncBegin(Int32, String)

    Writes a trace event to indicate that an asynchronous event has begun.

    Declaration
    public static void AsyncBegin(int cookie, string name)
    Parameters
    Type Name Description
    Int32 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(Int32, String)
    API Level: 3
    View Source

    AsyncEnd(Int32, String)

    Writes a trace event to indicate that an asynchronous event has ended.

    Declaration
    public static void AsyncEnd(int cookie, string name)
    Parameters
    Type Name Description
    Int32 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
    AsyncBegin(Int32, String)
    API Level: 3
    View Source

    Begin(String)

    Writes a trace event to indicate that a synchronous event has begun.

    Declaration
    public 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
    End()
    API Level: 3
    View Source

    End()

    Writes a trace event to indicate that a synchronous event has ended.

    Declaration
    public 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
    Begin(String)
    API Level: 3
    View Source

    TraceValue(Int32, String)

    Writes a trace event to track change of an integer value.

    Declaration
    public static void TraceValue(int value, string name)
    Parameters
    Type Name Description
    Int32 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.

    API Level: 3
    • View Source
    Back to top Copyright © 2016-2022 Samsung
    Generated by DocFX