package org.folio.okapi.common;

import io.vertx.core.logging.Logger;
import io.vertx.core.logging.LoggerFactory;

public class OkapiLogger {

  private OkapiLogger() {
    throw new IllegalStateException("OkapiLogger");
  }

  public static Logger get() {
    System.setProperty("vertx.logger-delegate-factory-class-name",
      "io.vertx.core.logging.SLF4JLogDelegateFactory");
    return LoggerFactory.getLogger("okapi");
  }
}

@@ -246,24 +246,96 @@
 ger get() %7B%0A
+    return get(%22okapi%22);%0A  %7D%0A%0A  public static Logger get(Class%3C?%3E cl) %7B%0A
     System.s
@@ -480,24 +480,232 @@
 tLogger(
-%22okapi%22);%0A  %7D
+cl);%0A  %7D%0A%0A  public static Logger get(String name) %7B%0A    System.setProperty(%22vertx.logger-delegate-factory-class-name%22,%0A      %22io.vertx.core.logging.SLF4JLogDelegateFactory%22);%0A    return LoggerFactory.getLogger(name);%0A  %7D%0A
 %0A%7D%0A

Extend OkapiLogger with same args as LoggerFactory