Ticket #7875: typo-logger-howto-docs-7875-2.diff

File typo-logger-howto-docs-7875-2.diff, 919 bytes (added by Chris Wolfe, 7 years ago)

fix ending on newsfile

  • docs/core/howto/logger.rst

    diff --git docs/core/howto/logger.rst docs/core/howto/logger.rst
    index ca7e736..aa462f7 100644
    For example, :api:`twisted.logger.FileLogObserver <FileLogObserver>` will append 
    128128    exceptions.ZeroDivisionError: integer division or modulo by zero
    129129
    130130Note that this API is meant to capture unexpected and unhandled errors (that is: bugs, which is why tracebacks are preserved).
    131 As such, it defaults to logging that the :api:`twisted.logger.LogLevel.critical <critical>` level.
     131As such, it defaults to logging at the :api:`twisted.logger.LogLevel.critical <critical>` level.
    132132It is generally more appropriate to instead use `log.error()` when logging an expected error condition that was appropriately handled by the software.
    133133
    134134