Python logging官方文档链接

来源:互联网 发布:社交软件 英文翻译 编辑:程序博客网 时间:2024/06/07 02:03

1、Logging教程

官方教程 (Logging HOWTO): https://docs.python.org/2/howto/logging.html

2、Logging标准库参考:

目录网址: https://docs.python.org/2/library/allos.html

  • 15.7. logging — Logging facility for Python
    • 15.7.1. Logger Objects
    • 15.7.2. Logging Levels
    • 15.7.3. Handler Objects
    • 15.7.4. Formatter Objects
    • 15.7.5. Filter Objects
    • 15.7.6. LogRecord Objects
    • 15.7.7. LogRecord attributes
    • 15.7.8. LoggerAdapter Objects
    • 15.7.9. Thread Safety
    • 15.7.10. Module-Level Functions
    • 15.7.11. Integration with the warnings module
  • 15.8. logging.config — Logging configuration
    • 15.8.1. Configuration functions
    • 15.8.2. Configuration dictionary schema
      • 15.8.2.1. Dictionary Schema Details
      • 15.8.2.2. Incremental Configuration
      • 15.8.2.3. Object connections
      • 15.8.2.4. User-defined objects
      • 15.8.2.5. Access to external objects
      • 15.8.2.6. Access to internal objects
      • 15.8.2.7. Import resolution and custom importers
    • 15.8.3. Configuration file format
  • 15.9. logging.handlers — Logging handlers
    • 15.9.1. StreamHandler
    • 15.9.2. FileHandler
    • 15.9.3. NullHandler
    • 15.9.4. WatchedFileHandler
    • 15.9.5. RotatingFileHandler
    • 15.9.6. TimedRotatingFileHandler
    • 15.9.7. SocketHandler
    • 15.9.8. DatagramHandler
    • 15.9.9. SysLogHandler
    • 15.9.10. NTEventLogHandler
    • 15.9.11. SMTPHandler
    • 15.9.12. MemoryHandler
    • 15.9.13. HTTPHandler

3、附:其他文档入口

[Python HOWTOs]
https://docs.python.org/2/howto/index.html

[The Python Standard Library]
https://docs.python.org/2/library/index.html

[Python 2.7.9 documentation] (总文档入口)
https://docs.python.org/2/index.html

0 0
原创粉丝点击