XenoAtom.Logging is designed to work in Native AOT and trimming scenarios.
XenoAtom.Logging is published as AOT-compatible and trimmable.XenoAtom.Logging.Terminal is also marked AOT-compatible and trimmable.XenoAtom.Logging.Generators is a development-time analyzer package.dotnet publish -c Release -r win-x64 -p:PublishAot=true -p:PublishTrimmed=true
Replace win-x64 with your runtime identifier.
[LogMethod], [LogFormatter]) for predictable codegen.TryFormat) to avoid trimming surprises around serializer/runtime helpers.PublishAot=true.Info, Warn, Error logging with properties/scopes.