Teks sumber — English
Terjemahan — Bahasa Indonesia
Parameters
Parameter
The parameters are as for :class:`FileHandler`. The attributes are:
If this attribute is set to a callable, the :meth:`rotation_filename` method delegates to this callable. The parameters passed to the callable are those passed to :meth:`rotation_filename`.
If this attribute is set to a callable, the :meth:`rotate` method delegates to this callable. The parameters passed to the callable are those passed to :meth:`rotate`.
Tries to create a socket; on failure, uses an exponential back-off algorithm. On initial failure, the handler will drop the message it was trying to send. When subsequent messages are handled by the same instance, it will not try connecting until some time has passed. The default parameters are such that the initial delay is one second, and if after that delay the connection still can't be made, the handler will double the delay each time up to a maximum of 30 seconds.