log_get_line


Description:


[ Version ( since = "1.18" ) ]
public string log_get_line (DebugCategory category, DebugLevel level, string file, string function, int line, Object? object, DebugMessage message)

Returns the string representation for the specified debug log message formatted in the same way as log_default (the default handler), without color.

The purpose is to make it easy for custom log output handlers to get a log output that is identical to what the default handler would write out.

Parameters:

category

category to log

level

level of the message

file

the file that emitted the message, usually the __FILE__ identifier

function

the function that emitted the message

line

the line from that the message was emitted, usually __LINE__

object

the object this message relates to, or null if none

message

the actual message


Namespace: Gst.Debug
Package: gstreamer-1.0