docker run --rm -it -v %cd%:/work -w /work -p 8080:8080 alpine:3
apk add go --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
GOEXPERIMENT=jsonv2 go install github.com/Zxilly/go-size-analyzer/cmd/gsa@latest
export PATH=$PATH:$(go env GOPATH)/bin
gsa --web otelcol-custom
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @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.