Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement loglevel #381

Merged
merged 3 commits into from Jun 12, 2023
Merged

Implement loglevel #381

merged 3 commits into from Jun 12, 2023

Conversation

mustafaboleken
Copy link
Collaborator

@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage: 28.48% and project coverage change: +0.19 🎉

Comparison is base (16e50b5) 37.09% compared to head (fa5a6bd) 37.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #381      +/-   ##
==========================================
+ Coverage   37.09%   37.29%   +0.19%     
==========================================
  Files           7        7              
  Lines        1701     1708       +7     
==========================================
+ Hits          631      637       +6     
- Misses       1070     1071       +1     
Impacted Files Coverage Δ
src/main/webapp/js/media_manager.js 25.15% <8.33%> (+0.15%) ⬆️
src/main/webapp/js/fetch.stream.js 13.58% <10.00%> (+1.08%) ⬆️
src/main/webapp/js/webrtc_adaptor.js 31.27% <23.33%> (+0.11%) ⬆️
src/main/webapp/js/websocket_adaptor.js 40.21% <30.76%> (+0.65%) ⬆️
src/main/webapp/js/embedded-player.js 69.04% <46.80%> (+0.08%) ⬆️
src/main/webapp/js/soundmeter.js 81.48% <50.00%> (-2.52%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mekya mekya merged commit 8a11bde into master Jun 12, 2023
5 of 6 checks passed
@mekya mekya deleted the fix/issue-5174 branch June 12, 2023 17:01
@mekya
Copy link
Contributor

mekya commented Jun 12, 2023

Default loglevel is warning.

One can change log level with string parameter(lowercase or uppercase)

window.log.setLevel("trace");

or integer parameter

window.log.setLevel(0);

Here are the levels

"TRACE": 0,
"DEBUG": 1,
"INFO": 2,
"WARN": 3,
"ERROR": 4,
"SILENT": 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants