Skip to content

Commit

Permalink
ewww
Browse files Browse the repository at this point in the history
  • Loading branch information
AmarnathCJD committed Dec 23, 2024
1 parent 3a01cb7 commit d2c5889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions telegram/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ func NewClient(config ClientConfig) (*Client, error) {

if config.Logger != nil {
client.Log = config.Logger
client.Log.Prefix = "gogram " + getLogPrefix("client ", config.SessionName)
client.Log.Prefix = "gogram " + getLogPrefix("client", config.SessionName)
config.LogLevel = config.Logger.Lev()
} else {
client.Log = utils.NewLogger("gogram " + getLogPrefix("client ", config.SessionName))
client.Log = utils.NewLogger("gogram " + getLogPrefix("client", config.SessionName))
}

config = client.cleanClientConfig(config)
Expand Down

0 comments on commit d2c5889

Please sign in to comment.