apache / apache/pulsar-client-go

Disable logger

Open
#430 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
745
Forks
389
Avg merge
3d 20h
Merged PRs (30d)
3

Description

In general, is there any way to disable the logger or use an alternative logger? I can see in the client configuration there is a field `Logger` but I cannot find any example on how to disable or reconfigure it. If I set it to `nil` all the logs are dumped in my console.

Contributor guide

Open the contributing guide

Research direction

Start at the client configuration's `Logger` field and trace how a nil logger is handled, then inspect the existing logging configuration path. Done means the supported way to disable or replace logging is documented with an example and accounts for the observed console output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
developer-experience
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.