Skip to content

Commit

Permalink
fix(logger): removed debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
fenying committed Oct 12, 2023
1 parent 801470e commit 006c2cc
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes Logs

## v1.2.1

- fix(logger): removed debug code.

## v1.2.0

- feat(logger): added `Logger.isMuted` method.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@litert/logger",
"version": "1.2.0",
"version": "1.2.1",
"description": "A logs-recorder for LiteRT framework.",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 0 additions & 2 deletions src/lib/Logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ function createLogMethod<T, TLv extends string>(

cs.push('};');

console.log(cs.join('\n'));

return (new Function(
'formatter',
'driver',
Expand Down

0 comments on commit 006c2cc

Please sign in to comment.