System:Log:write

From Aspen Documentation

Writes a new message to the log file. If the message is an array, it will using print_r() to dump the information.

Since 1.0

Arguments

void write ([string $message = '(empty message)'], [ $mode = 'a'])

message
A message to print to the log.
mode
File write mode. Use "w" to overwrite everything else in the current file.

Returns

This function does not return any value.

Examples

Example:

$this->APP->log->write('Here is my debug message.');