forked from Elara6331/infinitime
Use log level provided in options
This commit is contained in:
parent
8ff29b0ca9
commit
c5d938ce99
@ -90,6 +90,8 @@ func Connect(opts *Options) (*Device, error) {
|
|||||||
opts = DefaultOptions
|
opts = DefaultOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
|
opts.Logger = opts.Logger.Level(opts.LogLevel)
|
||||||
|
|
||||||
// Set passkey request callback
|
// Set passkey request callback
|
||||||
setOnPasskeyReq(opts.OnReqPasskey)
|
setOnPasskeyReq(opts.OnReqPasskey)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user