Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(colors): Expose color-free logging option & add full support #653

Merged
merged 1 commit into from
Mar 26, 2018

Conversation

vikaspotluri123
Copy link
Member

@vikaspotluri123 vikaspotluri123 commented Feb 19, 2018

refs + closes #457
depends on TryGhost/Ignition#53 (and assumes patch 19 will be released)

@acburdine
Copy link
Member

Of note: #680 should unblock this 😄

@vikaspotluri123
Copy link
Member Author

That's what I was thinking 😆

@kirrg001 should I leave TryGhost/Ignition#53 open for other usecases, or just not worry about it?

@kirrg001
Copy link
Contributor

@vikaspotluri123 I would close it. We can re-open it in case we want to add it 👍

@acburdine
Copy link
Member

@vikaspotluri123 mind rebasing this now that #680 is merged?

@coveralls
Copy link

coveralls commented Mar 25, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 2804a18 on vikaspotluri123:colorfree into f073dc5 on TryGhost:master.

@@ -41,7 +41,7 @@ class LogCommand extends Command {
}

const logFileName = path.join(instance.dir, 'content/logs', `${instance.config.get('url').replace(/[^\w]/gi, '_')}_${this.system.environment}${argv.error ? '.error' : ''}.log`);
const prettyStream = new PrettyStream();
const prettyStream = new PrettyStream({color: argv.color});

This comment was marked as abuse.

This comment was marked as abuse.

Copy link
Member

@acburdine acburdine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@acburdine acburdine merged commit ba58fab into TryGhost:master Mar 26, 2018
@vikaspotluri123 vikaspotluri123 deleted the colorfree branch May 1, 2018 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: logging without special characters
4 participants