DebugCategory
Object Hierarchy:
Description:
[ Compact ]
public class DebugCategory
This is the struct that describes the categories.
Once initialized with init, its values can't be changed anymore.
Content:
Static methods:
- public static unowned DebugCategory @get (string name)
Methods:
- public void debug (string format, ...)
- public void debug_object (Object obj, string format, ...)
- public void error (string format, ...)
- public void error_object (Object obj, string format, ...)
- public uint get_color ()
Returns the color of a debug category used when printing output in this
category.
- public unowned string get_description ()
Returns the description of a debug category.
- public unowned string get_name ()
Returns the name of a debug category.
- public DebugLevel get_threshold ()
Returns the threshold of a DebugCategory.
- public void info (string format, ...)
- public void info_object (Object obj, string format, ...)
- public void init (string name, uint color, string description)
- public void log (string format, ...)
- public void log_object (Object obj, string format, ...)
- public void reset_threshold ()
Resets the threshold of the category to the default level.
- public void set_threshold (DebugLevel level)
Sets the threshold of the category to the given level.
- public void warning (string format, ...)
- public void warning_object (Object obj, string format, ...)