set_threshold


Description:

public void set_threshold (DebugLevel level)

Sets the threshold of the category to the given level.

Debug information will only be output if the threshold is lower or equal to the level of the debugging message. > Do not use this function in production code, because other functions may > change the threshold of categories as side effect. It is however a nice > function to use when debugging (even from gdb).

Parameters:

this

a DebugCategory to set threshold of.

level

the DebugLevel threshold to set.