Skip to content

Upgrading colorlog 1 to 2

Breaking1.8 → 2.10.0Breaking1New5Fixed1Other1

BreakingUpgrade verdict

1 breaking change.

  • Stable release: python-colorlog is no longer marked as 'beta' software.
1 item needs code or config changes
Breaking1
Stable release: python-colorlog is no longer marked as 'beta' software.
python-colorlog

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export ColoredFormatter
  • added: export LevelFormatter
  • added: export StreamHandler
  • added: export TTYColoredFormatter
  • added: export basicConfig
  • added: export critical
  • added: export debug
  • added: export default_log_colors
  • added: export error
  • added: export escape_codes
  • added: export exception
  • added: export getLogger
  • added: export info
  • added: export log
  • added: export root
  • added: export warning
  • changed: class ColoredFormatter(Formatter) → class ColoredFormatter(logging.Formatter)
  • changed: constructor ColoredFormatter(format, datefmt=…, log_colors=…, reset=…, style=…) → constructor ColoredFormatter(fmt=…, datefmt=…, style=…, log_colors=…, reset=…, secondary_log_colors=…)
  • added: class LevelFormatter(ColoredFormatter)
  • added: class TTYColoredFormatter(ColoredFormatter)
  • added: constructor LevelFormatter(fmt=…, datefmt=…, style=…, log_colors=…, reset=…, secondary_log_colors=…)
  • added: constructor TTYColoredFormatter(*args, **kwargs)
  • added: method ColoredFormatter.color(log_colors, level_name)
  • added: method LevelFormatter.format(record)
  • added: method TTYColoredFormatter.color(log_colors, level_name)
  • added: function parse_colors(sequence)
  • added: function basicConfig(**kwargs)
  • added: function ensure_configured(func)
  • added: variable BASIC_FORMAT
  • added: variable StreamHandler
  • added: variable critical
  • added: variable debug
  • added: variable error
  • added: variable exception
  • added: variable getLogger
  • added: variable info
  • added: variable log
  • added: variable root
  • added: variable warning