-
Notifications
You must be signed in to change notification settings - Fork 642
logging-bunyan: make it a proper Writeable stream #2117
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
Conversation
9f39b00 to
300a4d7
Compare
|
Changes Unknown when pulling 300a4d7 on ofrobots:bunyan-writable into ** on GoogleCloudPlatform:master**. |
|
Sorry for popping this question in here, but is the logging-winston code on master ready to be updated @google-cloud/logging@0.8.0? |
|
Yes it is; but I was waiting for the next release of @google-cloud/logging – as I am waiting for the |
|
Alright, lemme do that. |
|
Published @google-cloud/logging@0.8.1 |
300a4d7 to
419d42c
Compare
|
Bumped the |
packages/logging-bunyan/src/index.js
Outdated
| * Format a bunyan record into a Stackdriver log entry. | ||
| * | ||
| * @param {object} record - Bunyan log record. | ||
| * @param {object} - Bunyan log record. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
packages/logging-bunyan/src/index.js
Outdated
| * @private | ||
| */ | ||
| LoggingBunyan.prototype.write = function(record) { | ||
| LoggingBunyan.prototype._formatEntry = function(record) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| done(); | ||
| }; | ||
|
|
||
| loggingBunyan._write(RECORD, '', assert.ifError); |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| }); | ||
| }); | ||
|
|
||
|
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| }; | ||
| } | ||
|
|
||
| function fakeWritable(options) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
Thanks! |
|
Thank you! Would it be possible to get updated winston and bunyan modules published to npm? |
|
Sure thing, I'll do that now. |
|
Both are out as 0.2.0's. |
Fixes: #1988
NOTE: the system test is still dependent on the unreleasedremoveCircularfixes in@google-cloud/logging.