Skip to content

Commit

Permalink
Providing chisel's client with a logger level (jpillora#281)
Browse files Browse the repository at this point in the history
Co-authored-by: Barak Sharoni <barak.sharoni@velocity.tech>
Co-authored-by: barak-sharoni-velocity <81081183+barak-sharoni-velocity@users.noreply.github.com>
  • Loading branch information
3 people authored and NewtonMan committed Oct 16, 2024
1 parent c85f85e commit 50bbcd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func NewClient(c *Config) (*Client, error) {
tlsConfig: nil,
}
//set default log level
client.Logger.Info = true
client.Logger.Info = c.Verbose
//configure tls
if u.Scheme == "wss" {
tc := &tls.Config{}
Expand Down

0 comments on commit 50bbcd1

Please sign in to comment.