-
-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from kwonoj/feat-esm
build(tsconfig): emit esm output
- Loading branch information
Showing
9 changed files
with
1,048 additions
and
977 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
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,18 @@ | ||
import { wrapCallSite } from "source-map-support"; | ||
import { ISettings, ISettingsParam } from "."; | ||
import { LoggerWithoutCallSite } from "./LoggerWithoutCallSite"; | ||
|
||
/** | ||
* 📝 Expressive TypeScript Logger for Node.js | ||
* @public | ||
*/ | ||
export class Logger extends LoggerWithoutCallSite { | ||
/** | ||
* @param settings - Configuration of the logger instance (all settings are optional with sane defaults) | ||
* @param parentSettings - Used internally to | ||
*/ | ||
public constructor(settings?: ISettingsParam, parentSettings?: ISettings) { | ||
super(settings, parentSettings); | ||
this._callSiteWrapper = wrapCallSite; | ||
} | ||
} |
Oops, something went wrong.