This section describes how errors are logged by various methods.
The log()
and logAndWait()
methods throw a LogException
if they encounter a problem while attempting to send a log request. The logAsynchronously()
method throws a LogException
only if it is called with a null argument; otherwise, it does not throw an exception because it operates asynchronously.