Use log level provided in options

gatt_localtime
Arsen Musayelyan 9 months ago
parent bebd1017c5
commit 2f51bde597

@ -90,6 +90,8 @@ func Connect(opts *Options) (*Device, error) {
opts = DefaultOptions
}
opts.Logger = opts.Logger.Level(opts.LogLevel)
// Set passkey request callback
setOnPasskeyReq(opts.OnReqPasskey)

Loading…
Cancel
Save