docs: protected void log(String aLevel, Object obj, Throwable t)
      {
          buffer.append(BRAKE_OPEN).append(getName()).append(BRAKE_CLOSE).append(aLevel);
          if (obj != null && obj instanceof Throwable)
          {
              try
              {
                  buffer.append(((Throwable) obj).getMessage()).append(EOL);
                  ((Throwable) obj).printStackTrace();
              }
              catch (Throwable ignored)
              {
                  /*logging should be failsafe*/
              }
          }
          else
          {
              try
              {
                  buffer.append(obj).append(EOL);
              }
              catch(Exception e)
              {
                  // ignore
              }
          }
  
          if (t != null)
          {
              try
              {
                  buffer.append(t.getMessage()).append(EOL);
                  buffer.append(ExceptionUtils.getFullStackTrace(t)).append(EOL);
              }
              catch (Throwable ignored)
              {
                  /*logging should be failsafe*/
              }
          }
          if(!errorLog && (aLevel.equals(STR_ERROR) || aLevel.equals(STR_FATAL)))
          {
              errorLog = true;
          }
      }