code: public final void deleteLog(String logName) {
  
      DeleteLogRequest request = DeleteLogRequest.newBuilder().setLogName(logName).build();
      deleteLog(request);
    }
docs: Deletes all the log entries in a log. The log reappears if it receives new entries. Log entries
  written shortly before the delete operation might not be deleted.
  
  <p>Sample code:
  
  <pre><code>
  try (LoggingClient loggingClient = LoggingClient.create()) {
  LogName logName = ProjectLogName.of("[PROJECT]", "[LOG]");
  loggingClient.deleteLog(logName.toString());
  }
  </code></pre>
  
  @param logName Required. The resource name of the log to delete:
  <p>"projects/[PROJECT_ID]/logs/[LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]"
  "billingAccounts/[BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]"
  <p>`[LOG_ID]` must be URL-encoded. For example, `"projects/my-project-id/logs/syslog"`,
  `"organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity"`. For more
  information about log names, see [LogEntry][google.logging.v2.LogEntry].
  @throws com.google.api.gax.rpc.ApiException if the remote call fails