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

compatiblity: expose LOG_ properties globally #6

Merged
merged 1 commit into from
Sep 2, 2015

Conversation

sam-github
Copy link
Contributor

Undocumented, but exposed like this for compatability with node-syslog.

connected to connected to strongloop-internal/scrum-nodeops#893

see https://github.com/strongloop-internal/scrum-nodeops/issues/893#issuecomment-136826046

@sam-github
Copy link
Contributor Author

@rmg this doesn't appear to be in CI, but it was added in https://github.com/strongloop-internal/ci-infrastructure/pull/7/files

PTAL

@@ -18,5 +18,8 @@ tap.test(function(t) {
t.doesNotThrow(function() {
Syslog.close();
}, 'Syslog.close');
t.assert('LOG_KERN' in Syslog, 'facilities are global for compat');
Copy link
Member

Choose a reason for hiding this comment

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

Should this also be asserting that it is equal to the other location?

Copy link
Member

Choose a reason for hiding this comment

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

Also, they're not really global ;-)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@rmg
Copy link
Member

rmg commented Sep 1, 2015

Couple minor nits.

Nothing blocking if you are in a hurry, so LGTM.

@rmg rmg assigned sam-github and unassigned rmg Sep 1, 2015
Undocumented, but exposed like this for compatability with node-syslog.
sam-github added a commit that referenced this pull request Sep 2, 2015
compatiblity: expose LOG_ properties globally
@sam-github sam-github merged commit 91976f1 into master Sep 2, 2015
@sam-github sam-github deleted the property-compatibility branch September 2, 2015 19:17
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.

2 participants