-
Notifications
You must be signed in to change notification settings - Fork 111
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
Instance: add a set_logger method #273
Open
garfvl
wants to merge
7
commits into
oaubert:master
Choose a base branch
from
garfvl:logging
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on May 3, 2024
-
generator: fix python 3.12 warning
Citing from Python 3.12 release: "A backslash-character pair that is not a valid escape sequence now generates a SyntaxWarning (...) In a future Python version, SyntaxError will eventually be raised, instead of SyntaxWarning." https://docs.python.org/dev/whatsnew/3.12.html#other-language-changes
Configuration menu - View commit details
-
Copy full SHA for b11669e - Browse repository at this point
Copy the full SHA b11669eView commit details
Commits on May 18, 2024
-
generator: add a find_libc library
Add a way to load the local standard C library. This could be used to load some C standard functions, like *printf ones. This should work on Linux, Windows and macOS/Darwin environments.
Configuration menu - View commit details
-
Copy full SHA for 6d73c64 - Browse repository at this point
Copy the full SHA 6d73c64View commit details -
Instance: add a set_logger method
Adds a way to link libVLC log system to a python logging.Logger object. The logger and log callback is attached to the libVLC Instance object to avoid the python garbage collector to destroy them too soon. NOTE: as libVLC log messages are based on a printf + va_list format, we need to use the standard C `vsnprintf` function with a max fixed size output.
Configuration menu - View commit details
-
Copy full SHA for 6896d1f - Browse repository at this point
Copy the full SHA 6896d1fView commit details -
Adds a functional test for the Instance.set_logger method. This will also test the log_get_context, as this is part of the logger output.
Configuration menu - View commit details
-
Copy full SHA for 722c546 - Browse repository at this point
Copy the full SHA 722c546View commit details -
Instance: add the logger getter
This can be useful if some logger is set and you want to get access to it afterwards.
Configuration menu - View commit details
-
Copy full SHA for 22a22f0 - Browse repository at this point
Copy the full SHA 22a22f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 11a6b8a - Browse repository at this point
Copy the full SHA 11a6b8aView commit details
Commits on May 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ce72918 - Browse repository at this point
Copy the full SHA ce72918View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.