code: public void sendConsoleMessage(Level level, String msg) {
          if (!(getServerCaller() instanceof UnitTestServerCaller)) {
              getLogger().log(level, msg);
          }
      }
docs: Sends a message to the console through the Logge.r
  
  @param level The log level to show.
  @param msg   The message to send.