When an image frame missing happens (usually due to a big image decoding and very short duration per frame), it trends to missing not only one frame but all the following frames. When this happens, the console log could be quite noisy. Most cases, the frame missing is acceptable.
This PR adds a LogLevel and LogLevel.current to control if a verbose print should happen.
For #128
When an image frame missing happens (usually due to a big image decoding and very short duration per frame), it trends to missing not only one frame but all the following frames. When this happens, the console log could be quite noisy. Most cases, the frame missing is acceptable.
This PR adds a
LogLevel
andLogLevel.current
to control if a verbose print should happen.