Open vxzms opened 3 months ago
Based on my current knowledge, it is challenging to fully support NativeAOT.
Sandbox/ConsoleApp/Program.cs
uncomment line 50 logger.LogInformation("aiueo {id:0,0000} ", 100); publish with aot `
ConsoleApp will crash
Process terminated. Failed to create generic virtual method implementation
Declaring type: ZLogger.Formatters.PlainTextZLoggerFormatter
Method name: FormatLogEntry
Instantiation:
Argument 00000000: ZLogger.ZLoggerEntry1<ZLogger.LogStates.StringFormatterLogState
1
`
I am publishing a console app that depends on ZLogger as NativeAOT, and I encountered the following warnings. I’m not sure if you’re willing to resolve them.