Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions chapters/ch04.0-logtar-our-logging-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ module.exports = {
Let's try to test this.

```js

'use strict';

new Logger("OK"); // throws error
new Logger(LogLevel.Debug); // works fine
new Logger(); // works fine
Expand Down