async writeAsync()

in core/logging/loggers/console.js [54:84]


    async writeAsync(properties, severity, message) {
        /** @type {string} */
        const consoleMsg = this.formatConsoleMsg(properties, message);

        switch (severity) {
            case "critical":
                this.console.error(consoleMsg);
                this.console.trace();
                break;

            case "error":
                this.console.error(consoleMsg);
                break;

            case "warning":
                this.console.warn(consoleMsg);
                break;

            case "event":
            case "info":
                this.console.info(consoleMsg);
                break;

            case "verbose":
            default:
                this.console.log(consoleMsg);
                break;
        }

        return this;
    }