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

client: set LogFormat = "full" on the RxPlayer class if one #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

peaBerberian
Copy link
Collaborator

Once canalplus/rx-player#1469 is merged, there will be a difference between debug logs enabled because of the global __RX_PLAYER_DEBUG_MODE__ boolean and those because the RxPlayer class was passed as an argument to the global __RX_INSPECTOR_RUN__ function (generally the former is relied on when the RxPlayer is not yet loaded and the latter whne it is).

This PR fixes that difference: full logs in all cases.

Alternatively, we could inside the RxPlayer just regularly re-check for the global RX_PLAYER_DEBUG_MODE__ boolean which might make everything simpler.

Once canalplus/rx-player#1469 is merged,
there will be a difference between debug logs enabled because of
the global `__RX_PLAYER_DEBUG_MODE__` boolean and those because the
RxPlayer class was passed as an argument to the global
`__RX_INSPECTOR_RUN__` function (generally the former is relied on
when the RxPlayer is not yet loaded and the latter whne it is).

This commit fixes that difference: full logs in all cases.

Alternatively, we could inside the RxPlayer just regularly re-check for
the global `RX_PLAYER_DEBUG_MODE__` boolean which might make everything
simpler.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant