Skip to content

Commit cc797b6

Browse files
committed
Add rich colorful logging
Signed-off-by: Rahul Krishna <[email protected]>
1 parent 9d6ffd5 commit cc797b6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/utils/logger.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
// logger.ts
2-
import Signale from 'signale';
2+
import { Signale } from 'signale';
33
import chalk from 'chalk';
44

55
class Logger {
66
/**
77
* Instance of Signale for logging messages.
88
*/
99

10-
/**
11-
* @note Instead of using `private signale: Signale;`, I am using `InstanceType<typeof Signale>` to tell
12-
* typescript, "Hey, signale is an instance of the {@link Signale} class."
13-
*/
1410
private signale: InstanceType<typeof Signale>;
1511

1612
constructor(scope?: string) {

0 commit comments

Comments
 (0)