"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
/**
 * 📔 Logger API
 */
class Logger {
    constructor(BB) {
        this.BB = BB;
        //
    }
    log(message, ...params) {
        this.BB.Hooks.run('bluebase.logger.log', message, { params });
    }
    info(message, ...params) {
        this.BB.Hooks.run('bluebase.logger.info', message, { params });
    }
    warn(message, ...params) {
        this.BB.Hooks.run('bluebase.logger.warn', message, { params });
    }
    error(message, ...params) {
        this.BB.Hooks.run('bluebase.logger.error', message, { params });
    }
    debug(message, ...params) {
        this.BB.Hooks.run('bluebase.logger.debug', message, { params });
    }
}
exports.Logger = Logger;
