Skip to content

Commit

Permalink
Leave comments as-is
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrannosaurus-becks committed Dec 7, 2020
1 parent 27800ba commit 77753a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,21 +132,21 @@ func (api *Client) AuthTestContext(ctx context.Context) (response *AuthTestRespo
return &responseFull.AuthTestResponse, responseFull.Err()
}

// Debugf print a formatted Debug line.
// Debugf print a formatted debug line.
func (api *Client) Debugf(format string, v ...interface{}) {
if api.debug {
api.log.Output(2, fmt.Sprintf(format, v...))
}
}

// Debugln print a Debug line.
// Debugln print a debug line.
func (api *Client) Debugln(v ...interface{}) {
if api.debug {
api.log.Output(2, fmt.Sprintln(v...))
}
}

// Debug returns if Debug is enabled.
// Debug returns if debug is enabled.
func (api *Client) Debug() bool {
return api.debug
}
Expand Down

0 comments on commit 77753a0

Please sign in to comment.