mirror of
https://github.com/bakito/adguardhome-sync.git
synced 2025-01-10 01:02:11 +08:00
move log attribute to message
This commit is contained in:
parent
8db9c98644
commit
6fb2dd12a8
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ func (cl *client) toggleStatus(mode string) (bool, error) {
|
|||
}
|
||||
|
||||
func (cl *client) toggleBool(mode string, enable bool) error {
|
||||
cl.log.With("mode", mode, "enable", enable).Info("Toggle")
|
||||
cl.log.With("enable", enable).Info(fmt.Sprintf("Toggle %s", mode))
|
||||
var target string
|
||||
if enable {
|
||||
target = "enable"
|
||||
|
|
Loading…
Reference in a new issue