Skip to content

Conversation

@grypez
Copy link
Contributor

@grypez grypez commented Apr 9, 2025

...

@grypez grypez force-pushed the grypez/log-flume branch from 9e42b79 to ad3af02 Compare April 9, 2025 19:17
Comment on lines +76 to +79
if (isLogLevel(prop)) {
return (...args: unknown[]) =>
dispatch({ tags, level: prop }, ...args);
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is probably better to store and reference these aliases instead of creating a new arrow function with every access.

@grypez
Copy link
Contributor Author

grypez commented Apr 10, 2025

Continued in #480

@grypez grypez closed this Apr 10, 2025
grypez added a commit that referenced this pull request Apr 14, 2025
Refs: #476 

- Adds a stateful `Logger` class with the ability to pipe logs to
multiple endpoints
- Adds an optional transport constructor argument for specifying
endpoints
- Defines a standardized `LoggerEntry` type
- Adds support for logger tags for filtering at the transport level
- Deprecates `makeLogger` but keeps it as a wrapper for `new Logger`
@grypez grypez deleted the grypez/log-flume branch April 22, 2025 21:22
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