I was wondering if you know how can I implement Custom logger in SL4j ,basically I am moving from log4j to sl4j and our source uses log4j's logger which accepts object i.e log.info(Object o) since sl4jlogback logger does not accept only object I wrote a wrapper so that we could avoid changing the source using logging .
When I use this wrapper for logging my output has name of this wrapper as the caller instead of actual caller ,if I use logback's logger I see caller fine in log file.
Any idea how to achieve this.
I short anexample implementing custom logger