Re: Source location static inlining

2022-07-12 Thread Volkan Yazıcı
I am against polluting (actually, almost doubling!) our public API just because we couldn't figure out how to weave bytecode in the way we want. For the records, specialization will be inevitable for transforming SLF4J and Log4j 1 calls. On Tue, Jul 12, 2022 at 10:49 PM Piotr P. Karwasz wrote:

Re: Source location static inlining

2022-07-12 Thread Piotr P. Karwasz
Hi Volkan, > My next step will be to run this at compile time. (Will keep you posted.) > > Please note the specialization on `Logger#info(String)` call in > `AppTransforming`. Since Ralph did not like thread-locals, we need to > implement every such possible specialization of the public API. I th

Re: Source location static inlining

2022-07-12 Thread Volkan Yazıcı
This AppTransforming class , transforms the following private static final Logger LOGGER = LogManager.getLogger(); public static void main(String[] args) { LOGGER.info("should log at