src/Auditable.php
public static function isAuditingEnabled(): bool
    {
        if (App::runningInConsole()) {
            return Config::get('audit.console', false);
        }

        return Config::get('audit.enabled', true);
    }
public static function isAuditingEnabled(): bool
    {
        if (App::runningInConsole()) {
            return Config::get('audit.console', false);
        }

        return Config::get('audit.enabled', true);
    }
public static function isAuditingEnabled ( ) : bool { if ( App :: runningInConsole ( ) ) { return Config :: get ( 'audit.console' , false ) ; } return Config :: get ( 'audit.enabled' , true ) ; }
Determine whether auditing is enabled.

@return bool
Determine whether auditing is enabled .