You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* MessageLogger provides a set of methods that improve logging when ran
in the context of TeamCity.
* The first type of method is `scope`, which allows the user to define
a "block" where all other log messages created within the scope of the
context managed method will be "in" that block and will be collapsed
when viewing the log in TeamCity.
* The second type of methods set specific log levels on the messages
being logged, and in the case of error allows providing some error
details.
* When any of these methods are used in a context determined not to be
TeamCity (determined by `is_running_uder_teamcity()`) the scope
messages will not be printed, and the log level messages will be
simplified removing the teamcity specific elements
Refactorings
============
1. create new package `teamcity-messages`. Rather than teamcity-messages
only being added by tox, it is now a primary dependency of pkgpanda and
dcos-image.
2. Add usage of new "scope" and "level" messages into pkgpanda and
dcos-image for builds
0 commit comments