The constructor.
void
DebugHandler
()
Adds debug text to the handler.
void
add
(mixed $debug, [optional $level = 5], [optional $category = "general"])
-
mixed
$debug: Either a string with debug text or a DebugItem object.
-
optional
$level: int $level The detail level of the debug text.
-
optional
$category: string $category The text category.
Assign the configuration of this Manager. Valid configuration options are as
follows: database_index integer database_name string
void
assignConfiguration
(object Properties $configuration)
-
object Properties
$configuration: (original type: java.util.Properties)
Assign the context of this OsidManager.
void
assignOsidContext
(mixed $context, object OsidContext $context
)
-
object OsidContext
$context
Returns the number of DebugItems registered.
int
getDebugItemCount
()
Returns an array of DebugItems, optionally limited to category $category.
array
getDebugItems
([optional $category = ""])
-
optional
$category: string $category The category.
Return context of this OsidManager.
object OsidContext
getOsidContext
()
Returns the internal output level.
integer
getOutputLevel
()
Sets the internal output level to $level. This can be overridden at output time.
void
setOutputLevel
(integer $level)
Adds a DebugItem to the queue.
-
object DebugItem
$debugItem: The DebugItem to add to the queue.
-
optional
$debugBacktrace: array $debugBacktrace A DebugBacktrace array.