Log
\nn\t3::Log()
Log to the sys_log table
Overview of Methods
\nn\t3::Log()->error($extName = '', $message = '', $data = []);
Write a warning in the sys_log table. Abbreviation for nnt3::Log()->log(..., 'error');
\nn\t3::Log()->error( 'extname', 'text', ['die'=>'data'] );
Copied!
return void
\nn\t3::Log()->info($extName = '', $message = '', $data = []);
Write an info to the sys_log table. Abbreviation for nnt3::Log()->log(..., 'info');
\nn\t3::Log()->error( 'extname', 'text', ['die'=>'data'] );
Copied!
return void
\nn\t3::Log()->log($extName = 'nnhelpers', $message = NULL, $data = [], $severity = 'info');
Writes an entry to the sys_log table.
The severity level can be specified, e.g. info, warning or error
\nn\t3::Log()->log( 'extname', 'Alles übel.', ['nix'=>'gut'], 'error' );
\nn\t3::Log()->log( 'extname', 'Alles schön.' );
Copied!
| @return mixed