Function

Gst-1.0Gstdebug_log_default

  • The default logging handler used by GStreamer. Logging functions get called whenever a macro like GST_DEBUG or similar is used. By default this function is setup to output the message and additional info to stderr (or the log file specified via the GST_DEBUG_FILE environment variable) as received via user_data.

    You can add other handlers by using gst_debug_add_log_function(). And you can remove this handler by calling gst_debug_remove_log_function(gst_debug_log_default);

    Parameters

    • category: DebugCategory

      category to log

    • level: Gst.DebugLevel

      level of the message

    • file: string

      the file that emitted the message, usually the FILE identifier

    • _function: string

      the function that emitted the message

    • line: number

      the line from that the message was emitted, usually LINE

    • object: GObject.Object

      the object this message relates to, or null if none

    • message: DebugMessage

      the actual message

    • Optionaluser_data: any

      the FILE* to log to

    Returns void