Using YAML file to setup GCP Cloud Logging
问题 I have the following YAML file setup for my logger in my project: --- version: 1 disable_existing_loggers: False formatters: simple: format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s" colored: (): "colorlog.ColoredFormatter" datefmt: "%Y-%m-%d %H:%M:%S" format: "%(white)s%(asctime)s.%(msecs)03d%(reset)s - %(cyan)s[%(module)s.%(funcName)s]%(reset)s - %(log_color)s[%(levelname)s] :=>%(reset)s %(message)s" log_colors: DEBUG: purple INFO: blue WARNING: yellow ERROR: red CRITICAL: red