Skip to content

Commit

Permalink
set logging backend introduced
Browse files Browse the repository at this point in the history
  • Loading branch information
chrlic committed Oct 15, 2024
1 parent f678bf8 commit 172a9dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions appd.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ func NewClientProxy(protocol string, controllerHost string, port int, username s
return c, nil
}

// SetLoggingBackend Resets the logger backend(s). Can be
// Added by 2024 Cisco Systems, Inc.
func (c *Client) SetLoggingBackend(bck []logging.Backend) {
logging.SetBackend(bck...)
}

// Rest makes a call using the standard Rest API
func (c *Client) Rest(method string, url string, model interface{}, body interface{}) error {

Expand Down

0 comments on commit 172a9dd

Please sign in to comment.