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

Add logger to yeoman generator #213

Merged
merged 1 commit into from
May 31, 2016

Conversation

doug-wade
Copy link
Collaborator

Demonstrate how to use the logger. Addresses #209

@@ -1,10 +1,14 @@
import React from 'react';
import rs from 'react-server';
Copy link
Contributor

Choose a reason for hiding this comment

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

I've been leaning toward this convention:

import {logging} from 'react-server';

Thoughts?

@gigabo gigabo added the enhancement New functionality. label May 25, 2016
@doug-wade doug-wade force-pushed the add-logger-to-generator branch 4 times, most recently from 6bb41f8 to 26c6d8e Compare May 25, 2016 21:21
@@ -44,6 +44,7 @@
],
"envs": [
"node"
]
],
"globals": ["__LOGGER__", "__CACHE", "__CHANNEL__"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the other globals? They're not used, right? Just __LOGGER__?

@doug-wade doug-wade force-pushed the add-logger-to-generator branch 2 times, most recently from 7640474 to 47c9a6d Compare May 25, 2016 23:34
@gigabo
Copy link
Contributor

gigabo commented May 25, 2016

Looks good. Thanks @doug-wade. 👍

@doug-wade doug-wade force-pushed the add-logger-to-generator branch 2 times, most recently from 2f675ee to 34e7155 Compare May 26, 2016 00:43
@doug-wade
Copy link
Collaborator Author

Here's what it looks like
screen shot 2016-05-25 at 5 42 25 pm

@doug-wade doug-wade force-pushed the add-logger-to-generator branch from 34e7155 to 52494d8 Compare May 31, 2016 17:54
@doug-wade doug-wade force-pushed the add-logger-to-generator branch from 52494d8 to 6a97edc Compare May 31, 2016 20:49
@doug-wade doug-wade merged commit c99ba10 into redfin:master May 31, 2016
davidalber pushed a commit to davidalber/react-server that referenced this pull request Jul 24, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants