I want to do logging using `slf4j`. I write my own logger class   

```
public class GlobalLogger {
   private static final Logger logger = LoggerFactory.getLogger(GlobalLogger.class);
   public static void logApplicationLog(String message) {
     logger.info("[" + APPLICATION_LOG + "]" + message);
   }
}

```

I use pattern layout in log4j so that in log `%C` display class as `GlobalLogger` but I want that `%C` should display the calling class. How do I do that with condition that object of logger should be singleton in whole application?