// Copyright 2018-2025 the Deno authors. MIT license.
// This module is browser compatible.
import { getLogger } from "./get_logger.js";
import "./setup.js";
export function error(msg, ...args) {
    // Assist TS compiler with pass-through generic type
    if (msg instanceof Function) {
        return getLogger("default").error(msg, ...args);
    }
    return getLogger("default").error(msg, ...args);
}
