private function audit($msg)
    {
        // Log the message if enabled
        if ($this->app['config']->get('general/debug_permission_audit_mode', false)) {
            $this->app['logger.system']->info($msg, ['event' => 'authentication']);
        }
    }
private function audit($msg)
    {
        // Log the message if enabled
        if ($this->app['config']->get('general/debug_permission_audit_mode', false)) {
            $this->app['logger.system']->info($msg, ['event' => 'authentication']);
        }
    }
private function audit ( $ msg ) { // Log the message if enabled if ( $ this -> app [ 'config' ] -> get ( 'general/debug_permission_audit_mode' , false ) ) { $ this -> app [ 'logger.system' ] -> info ( $ msg , [ 'event' => 'authentication' ] ) ; } }
Write an entry to the permission audit log.

@param string $msg
Write an entry to the permission audit log .