import { Scope } from "../scope.js";
export const logger = new Proxy({}, {
    get: (_, prop) => {
        const logger = Scope.getScope()?.logger ??
            {
                log: console.log,
                error: console.error,
                warn: console.warn,
                warnOnce: console.warn,
                task: () => { },
                exit: () => { },
            };
        return logger[prop].bind(logger);
    },
});
//# sourceMappingURL=logger.js.map