Files
talk/src/types/bunyan-prettystream.d.ts
T
Wyatt JohnsonandGitHub 9fa5900acc [next] Error and Logging Improvements (#2152)
* feat: added locale support for Tenant

* feat: added secret scrubbing to logs

* chore: cleanup logger

* chore: logger improvements

* feat: re-introduce scoped pretty logger

* feat: added initial error support

* refactor: replace trace-error.TraceError with talk.InternalError

* fix: fixed error logging

* refactor: replaced Error with VError

* fix: repaired issue with error management on api

* fix: patched bug with not found handler

* feat: added translations

* feat: added location path to invalid entries

* refactor: refactored error handling on graph

* fix: moved indexing operations to master node

* refactor: added throw for when the message isn't found in testing

* fix: removed duplicate log

* fix: fixed naming on environment variable
2019-02-06 23:42:17 +00:00

17 lines
662 B
TypeScript

declare module "@coralproject/bunyan-prettystream" {
// Type definitions for @coralproject/bunyan-prettystream
// Project: https://www.npmjs.com/package/@coralproject/bunyan-prettystream
// Definitions by: Jason Swearingen <https://github.com/jasonswearingen>, Vadim Macagon <https://github.com/enlight>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import stream from "stream";
export default class PrettyStream extends stream.Writable {
constructor(options?: { mode?: string; useColor?: boolean });
public pipe<T extends NodeJS.WritableStream>(
destination: T,
options?: { end?: boolean }
): T;
}
}