Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Use colors for logging. #474
Conversation
kyrofa
added some commits
Apr 19, 2016
elopio
reviewed
Apr 19, 2016
| - '\x1b[1m' | ||
| - 'Login {}.'.format(result) + | ||
| - '\x1b[0m\r\n') | ||
| + process.expect_exact('Login {}.'.format(result)) | ||
| def logout(self): | ||
| output = self.run_snapcraft('logout') |
elopio
reviewed
Apr 19, 2016
| + 'WARNING': '\033[1;33m', # Yellow | ||
| + 'ERROR': '\033[0;31m', # Dark red | ||
| + 'CRITICAL': '\033[1;31m', # Light red | ||
| + } |
|
|
sergiusens
merged commit 675d200
into
snapcore:master
Apr 19, 2016
kyrofa
deleted the
kyrofa:bugfix/1572186/use_colors
branch
Apr 19, 2016
pushed a commit
to kalikiana/snapcraft
that referenced
this pull request
Apr 6, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kyrofa commentedApr 19, 2016
This fixes LP: #1572186 by using the following colors: