Use logcat which is shipped with ADB
There are a bunch of manuals available online (searching for android get logs
returns some good results), e.g:
@echo off | |
for /r %%i in (*.jpg) do ( | |
(ffmpeg -y -i "%%i" -c:v av1_amf "%%~dpni.avif" || ffmpeg -y -i "%%i" -c:v libsvtav1 "%%~dpni.avif") && del "%%i" | |
) |
Use logcat which is shipped with ADB
There are a bunch of manuals available online (searching for android get logs
returns some good results), e.g:
This is a simple setup for reflectionless logging with serilog using caller information (and a single static class).
See also https://stackoverflow.com/a/46905798
Create your own Log.cs
in your Root-Namespace (you can use the class below).
This class is required to detect where the call is coming from; it uses Caller-Information to speed up the program execution, because the attributes are resolved at compile-time.