code: public void writeLog(LogInfo info, Cause cause, String causeReason, Account account, double amount, Currency currency, String worldName) {
          if (getMainConfig().getBoolean("System.Logging.Enabled")) {
              getStorageHandler().getStorageEngine().saveLog(info, cause, causeReason, account, amount, currency, worldName);
          }
      }
docs: Write a transaction to the Log.
  
  @param info        The type of transaction to log.
  @param cause       The cause of the transaction.
  @param causeReason The reason of the cause
  @param account     The account being impacted by the change
  @param amount      The amount of money in this transaction.
  @param currency    The currency associated with this transaction
  @param worldName   The world name associated with this transaction