• Creates a logger object based on input options. This is used to help separate and manage logs from submodules. Returns a callable function with attached methods.

    const log = get_logger({id: "util"})
    log("brackets contain the submodule name") // => [util]:: brackets contain the submodule name
    log("multi", "args", {key: "val"}) // => [util]:: multi args {"key":"val"}
    log.export_logs() // => all stored logs for this id

    Parameters

    Returns common.logger.Logger