Skip to content

Commit 7ea7302

Browse files
committed
add debug to testing
1 parent 1cd9fbe commit 7ea7302

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

test/test_helper.exs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,15 @@
1+
# Configure logging for debugging
2+
Application.put_env(:membrane_core, :log_level, :debug)
3+
4+
# Enable debug logging for specific modules during tests
5+
Logger.configure(
6+
backends: [:console],
7+
level: :info,
8+
compile_time_purge_matching: [
9+
[Membrane.H264.FFmpeg.Encoder, :debug],
10+
[Membrane.H264.FFmpeg.Encoder.Native, :debug],
11+
[Membrane.Generator.Plugin, :debug]
12+
]
13+
)
14+
115
ExUnit.start(capture_log: true)

0 commit comments

Comments
 (0)