gstreamer-rs/gstreamer/src
Nick Steel b7b5352353 log: Log trait adapter around the GStreamer debug system
Allows usage of normal `log` crate macros, and for other crates
using those macros to have their log messages go to the GStreamer
debug logs.

This implementation is based on the one found in Servo.

Fixes #187

DebugCategoryLogger is optional via 'log' feature
check category above threshold
skip_assert_initialized for constructor and helper

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1426>
2024-04-29 16:16:47 +01:00
..
auto Regenerate with latest gir / gir-files 2024-04-27 11:31:11 +03:00
format Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
subclass Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
allocation_params.rs gstreamer: Implement Default trait for AllocationParams 2023-10-24 15:04:14 +00:00
allocator.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
bin.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
buffer.rs Add accessor for owned Buffer to read-mapped AudioBuffer / MappedBuffer 2024-01-05 22:29:37 +02:00
buffer_cursor.rs Add accessor for owned Buffer to read-mapped AudioBuffer / MappedBuffer 2024-01-05 22:29:37 +02:00
buffer_pool.rs Seal manual traits 2023-07-06 14:21:45 +03:00
buffer_serde.rs fix typos in comments 2023-04-07 17:09:48 +02:00
bufferlist.rs Simplify various raw pointer casts everywhere 2023-11-29 11:24:47 +02:00
bufferlist_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
bus.rs gstreamer: bus: Handle all previously queued messages too in the BusStream 2024-02-21 12:09:14 +02:00
bus_unix.rs Remove dox feature and replace by docsrs configuration 2023-05-04 09:19:29 +03:00
bus_windows.rs Remove dox feature and replace by docsrs configuration 2023-05-04 09:19:29 +03:00
caps.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
caps_features.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
caps_features_serde.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
caps_serde.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
child_proxy.rs Seal manual traits 2023-07-06 14:21:45 +03:00
clock.rs Seal manual traits 2023-07-06 14:21:45 +03:00
context.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
control_binding.rs Seal manual traits 2023-07-06 14:21:45 +03:00
control_source.rs Seal manual traits 2023-07-06 14:21:45 +03:00
date_time.rs fix typos in comments 2023-04-07 17:09:48 +02:00
date_time_serde.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
device_monitor.rs Seal manual traits 2023-07-06 14:21:45 +03:00
device_provider.rs gstreamer: Add DeviceProviderClassExt extension trait for class methods 2023-10-11 16:06:16 +03:00
device_provider_factory.rs Update various APIs to use glib::GStr 2023-01-15 21:05:57 +02:00
element.rs gstreamer: Simplify Element::element_class() implementation a bit 2023-10-11 16:06:20 +03:00
element_factory.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
element_factory_type.rs Adapt to bitflags update 2023-07-06 15:17:32 +02:00
enums.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
error.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
event.rs Add field_if_some setter for builder ClockTime fields 2024-04-17 17:15:41 +02:00
flag_serde.rs gstreamer: Update serde flags tests for new ObjectFlags 2024-02-26 11:29:19 +00:00
functions.rs gstreamer: Re-export / manually implement new standalone functions 2024-02-06 09:55:42 +02:00
ghost_pad.rs Pad: allow building a Pad with an automatically generated name 2024-04-26 09:57:28 +00:00
gobject.rs Seal manual traits 2023-07-06 14:21:45 +03:00
gtype.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
iterator.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
lib.rs log: Log trait adapter around the GStreamer debug system 2024-04-29 16:16:47 +01:00
log.rs log: Log trait adapter around the GStreamer debug system 2024-04-29 16:16:47 +01:00
macos.rs gstreamer: add gst_macos_main() 2024-01-29 13:55:16 +01:00
memory.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
memory_wrapped.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
message.rs Add field_if_some setter for builder ClockTime fields 2024-04-17 17:15:41 +02:00
meta.rs meta: Make a generic transform method with a specific trait for each transform 2024-02-16 14:28:26 -05:00
miniobject.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
object.rs Seal manual traits 2023-07-06 14:21:45 +03:00
pad.rs Pad: allow building a Pad with an automatically generated name 2024-04-26 09:57:28 +00:00
pad_template.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
param_spec.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
parse.rs gstreamer: move parse_* functions to their own module 2023-12-04 16:15:51 +01:00
parse_context.rs Generate missing doc aliases for newtypes 2021-06-01 15:15:59 +02:00
pipeline.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
plugin.rs Migrate everything to object lock API instead of custom GMutex handling 2023-02-06 10:50:33 +02:00
plugin_feature.rs Seal manual traits 2023-07-06 14:21:45 +03:00
promise.rs Inline various trivial functions 2023-01-11 11:33:54 +02:00
proxy_pad.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
query.rs gstreamer: Add fmt::Debug impls for owned Event/Query/Message too 2023-05-24 10:36:08 +03:00
rank.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
registry.rs gstreamer: move update_registry() as Registry method 2023-12-04 16:15:51 +01:00
sample.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
sample_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
segment.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
segment_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
serde_macros.rs Switch from once_cell to std::sync::OnceLock where it makes sense 2024-01-31 14:59:54 +02:00
slice.rs gstreamer: Improve support for dumping memories and add same functionality to byte slices 2023-12-11 16:05:34 +00:00
static_caps.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
static_pad_template.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
stream.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
stream_collection.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
structure.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
structure_serde.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
tag_setter.rs Seal manual traits 2023-07-06 14:21:45 +03:00
tags.rs tags: Add new ContainerSpecificTrackId tag 2024-02-12 16:09:28 +02:00
tags_serde.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
task.rs Add field_if_some setter for builders 2024-04-17 17:15:39 +02:00
task_pool.rs Seal manual traits 2023-07-06 14:21:45 +03:00
toc.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
toc_serde.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
tracer.rs Change some assertions to debug assertions 2023-01-14 17:13:46 +02:00
tracer_factory.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
typefind.rs gstreamer: rank: Do not implement gst::Rank as enum 2023-11-02 13:32:00 +02:00
typefind_factory.rs Group and merge imports in all manual code 2023-01-04 13:25:17 +02:00
utils.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00
value.rs fraction: refer to numer and denom more consistently 2024-03-01 18:30:19 +08:00
value_serde.rs Adapt to no longer re-exported traits 2024-02-03 10:48:37 +01:00