The Console library is used by cms_system's Profiler to manage Console logging.
Logs a variable ($data
) to the console.
Returns false if $data
is a non-zero empty value.
Logs the memory usage of a single variable or the entire script.
- If an $object
is passed, the memory usage of that object is logged.
- If $name
is passed, the string is used to indicate the name of the $object
in the console.
Returns an array of logs.
Internal method used by log()
and log_memory()
to add log entries.
This is not intended to be called directly (despite being a public method).
This method is called by the constructor to allow the library to be initialized when loaded by CodeIgniter.
This is not intended to be called directly (despite being a public method).