blazar/HACKING.rst
Takashi Kajinami 86facea1e4 Use LOG.warning instead of deprecated LOG.warn
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: Id847acd613c27d4e647391c346ab6d3ceced99e4
2022-01-19 17:49:31 +09:00

380 B

Blazar Style Commandments

Blazar Specific Commandments

  • [Bl301] Validate that logs are not translated.
  • [Bl302] Use LOG.warning() rather than LOG.warn().
  • [H904] Delay string interpolations at logging calls.