code: public void log(final String tag, final int logLevel, final String msg, final Throwable exception) {
          if (aConsole != null) {
              aConsole.appendLog(tag, logLevel, msg, exception);
          }
          if (aFile != null) {
              aFile.appendLog(tag, logLevel, msg, exception);
          }
      }
docs: Logs message using defined appender.
  
  @param tag       Tag with SDKs and versions info.
  @param logLevel  Level of the log message.
  @param msg       Message to be logged.
  @param exception Optional exception to extract the stacktrace.