Skip to content

Commit

Permalink
chore(log): update loglevelnext dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
shellscape committed May 29, 2024
1 parent 5954df5 commit d17e1e3
Show file tree
Hide file tree
Showing 3 changed files with 4,092 additions and 3,282 deletions.
2 changes: 1 addition & 1 deletion packages/log/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
],
"dependencies": {
"chalk": "^4.1.2",
"loglevelnext": "^5.0.6",
"loglevelnext": "^6.0.0",
"p-defer": "^3.0.0"
}
}
6 changes: 5 additions & 1 deletion packages/log/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ import defer from 'p-defer';

import { LogFactory } from './LogFactory';

export type { MethodFactoryLevels };

export { LogFactory };

export interface LogOptions {
brand?: string;
name: string;
Expand All @@ -13,7 +17,7 @@ type LogIndex = {
[key in MethodFactoryLevels]: typeof console.log;
};

interface Log {
export interface Log {
level: MethodFactoryLevels;
}
export type DotLog = Log & Omit<LogIndex, 'silent'>;
Expand Down
Loading

0 comments on commit d17e1e3

Please sign in to comment.