Skip to content

Commit 5091c44

Browse files
authored
Remove debug logging (#249)
1 parent 6532b4d commit 5091c44

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/stream.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -683,14 +683,6 @@ function callprocess(stream::TranscodingStream, inbuf::Buffer, outbuf::Buffer)
683683
GC.@preserve(inbuf, minoutsize(stream.codec, buffermem(inbuf))),
684684
)
685685
Δin::Int, Δout::Int, state.code = GC.@preserve inbuf outbuf process(stream.codec, buffermem(inbuf), marginmem(outbuf), state.error)
686-
@debug(
687-
"called process()",
688-
code = state.code,
689-
input_size = buffersize(inbuf),
690-
output_size = marginsize(outbuf),
691-
input_delta = Δin,
692-
output_delta = Δout,
693-
)
694686
consumed!(inbuf, Δin;
695687
transcode = !has_sharedbuf(stream) || stream.state.mode === :write,
696688
) # inbuf is buffer1 if mode is :write

src/transcode.jl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,6 @@ function unsafe_transcode!(
154154
@label process
155155
makemargin!(output, n)
156156
Δin, Δout, code = GC.@preserve input output process(codec, buffermem(input), marginmem(output), error)
157-
@debug(
158-
"called process()",
159-
code = code,
160-
input_size = buffersize(input),
161-
output_size = marginsize(output),
162-
input_delta = Δin,
163-
output_delta = Δout,
164-
)
165157
consumed!(input, Δin)
166158
supplied!(output, Δout)
167159
if code === :error

0 commit comments

Comments
 (0)