generated from theogravity/boilerplate-typescript-old
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2dfe830
commit e6323b7
Showing
8 changed files
with
577 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"loglayer": minor | ||
--- | ||
|
||
Add [`signale`](https://github.com/klaudiosinani/signale) support | ||
|
||
See README.md for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import signale from "signale"; | ||
import { LogLayer, LoggerType } from "../src"; | ||
import { testMethods } from "./utils"; | ||
|
||
const log = new LogLayer({ | ||
logger: { | ||
instance: signale, | ||
type: LoggerType.SIGNALE, | ||
}, | ||
}); | ||
|
||
testMethods(log); |
Oops, something went wrong.