protected function auditLog($source, $message)
    {
        if ($this->app['config']->get('general/auditlog/enabled', true)) {
            $this->app['logger.system']->info($message, ['event' => 'nut', 'source' => $source]);
        }
    }
protected function auditLog($source, $message)
    {
        if ($this->app['config']->get('general/auditlog/enabled', true)) {
            $this->app['logger.system']->info($message, ['event' => 'nut', 'source' => $source]);
        }
    }
protected function auditLog ( $ source , $ message ) { if ( $ this -> app [ 'config' ] -> get ( 'general/auditlog/enabled' , true ) ) { $ this -> app [ 'logger.system' ] -> info ( $ message , [ 'event' => 'nut' , 'source' => $ source ] ) ; } }
Log a Nut execution if auditing is on.

@param string $source  __CLASS__ of caller
@param string $message Message to log
Log a Nut execution if auditing is on .