Closed tomato42 closed 6 years ago
https://github.com/ansasaki/smap/blob/608f590b98a1ad2e12c078974eafeef8f4aa58fa/src/smap/symver.py#L517-L520
the string is built every time, even if the current logging level won't emit it
using formatting string for warn() will be less computationally expensive:
warn()
self.logger.info("%s contains the local '*' wildcard", release.name)
https://github.com/ansasaki/smap/blob/608f590b98a1ad2e12c078974eafeef8f4aa58fa/src/smap/symver.py#L517-L520
the string is built every time, even if the current logging level won't emit it
using formatting string for
warn()
will be less computationally expensive: