We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 DebugMiddleware, which will print all nats activity of microservice. Template of DebugMiddleware:
class DebugMiddleware(Middleware): def __init__(self, logger): self.logger = logger async def send_any(self, subject: str, message, send_func, *args, **kwargs): self.logger.info(f"Sent to {subject} message {message}") return await send_func(subject, message, *args, **kwargs)
It Will be cool to have a chance to select log level, also add listen_any function, and to choose, which (listen or send or both) to debug
The text was updated successfully, but these errors were encountered:
danylott
Successfully merging a pull request may close this issue.
Add DebugMiddleware, which will print all nats activity of microservice.
Template of DebugMiddleware:
It Will be cool to have a chance to select log level, also add listen_any function, and to choose, which (listen or send or both) to debug
The text was updated successfully, but these errors were encountered: