Context manager: collect entries to log via a single API call.
Helper returned by Logger.batch
the logger to which entries will be logged.
The client to use.
Monitored resource of the batch, defaults to None, which requires that every entry should have a resource specified. Since the methods used to write entries default the entry's resource to the global resource type, this parameter is only required if explicitly set to None. If no entries' resource are set to None, this parameter will be ignored on the server.