forked from shakacode/rescript-logger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BrowserLogger: Use Console API functions for logs without data
The Console API of browsers offer several functions for logs of different severity levels, like error, warn, info, debug. This change uses these functions instead of groupCollapsed for simple logs without data. This allows to filter for logs in the browser console and allows the browser to automatically group repeating logs. Fixes: shakacode#17, shakacode#18 Signed-off-by: Sven Anderson <[email protected]>
- Loading branch information
Showing
1 changed file
with
12 additions
and
16 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