Skip to content

Commit

Permalink
reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Dec 1, 2023
1 parent e657c6d commit af47a87
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/consola.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,6 @@ export interface LogFn {
(message: InputLogObject | any, ...args: any[]): void;
raw: (...args: any[]) => void;
}

export type ConsolaInstance = Consola & Record<LogType, LogFn>;

// Legacy support
Expand Down
2 changes: 2 additions & 0 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const LogLevels: Record<LogType, number> = {

debug: 4,

trace: 5,

verbose: Number.POSITIVE_INFINITY,
};

Expand Down
1 change: 0 additions & 1 deletion src/reporters/fancy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { FormatOptions, LogObject } from "../types";
import { LogLevel, LogType } from "../constants";
import { BoxOpts, box } from "../utils/box";
import { stripAnsi } from "../utils";
import { formatTree } from "../utils/tree";
import { BasicReporter } from "./basic";

export const TYPE_COLOR_MAP: { [k in LogType]?: string } = {
Expand Down

0 comments on commit af47a87

Please sign in to comment.