func (o *Options) SetLogLevel(logLevel uint) *Options {
	o.logLevel = logLevel
	return o
}
SetLogLevel set level to filter log messages. Each level mean to log all categories bellow. Default is ErrorLevel.
There are four level constant int the log package in this library:
- ErrorLevel
- WarningLevel
- InfoLevel
- DebugLevel
The DebugLevel will print also content of writen batches, queries.
The InfoLevel prints HTTP requests info, among others.
Set log.Log to nil in order to completely disable logging.
package influxdb2
import (
	"crypto/tls"
	nethttp "net/http"
	"time"
	"github.com/influxdata/influxdb-client-go/v2/api/http"
	"github.com/influxdata/influxdb-client-go/v2/api/write"
)
type Options struct {
	logLevel uint
	writeOptions *write.Options
	httpOptions *http.Options
}
func (o *Options) BatchSize() uint {
	return o.WriteOptions().BatchSize()
}
func (o *Options) SetBatchSize(batchSize uint) *Options {
	o.WriteOptions().SetBatchSize(batchSize)
	return o
}
func (o *Options) FlushInterval() uint {
	return o.WriteOptions().FlushInterval()
}
func (o *Options) SetFlushInterval(flushIntervalMs uint) *Options {
	o.WriteOptions().SetFlushInterval(flushIntervalMs)
	return o
}
func (o *Options) RetryInterval() uint {
	return o.WriteOptions().RetryInterval()
}
func (o *Options) SetRetryInterval(retryIntervalMs uint) *Options {
	o.WriteOptions().SetRetryInterval(retryIntervalMs)
	return o
}
func (o *Options) MaxRetries() uint {
	return o.WriteOptions().MaxRetries()
}
func (o *Options) SetMaxRetries(maxRetries uint) *Options {
	o.WriteOptions().SetMaxRetries(maxRetries)
	return o
}
func (o *Options) RetryBufferLimit() uint {
	return o.WriteOptions().RetryBufferLimit()
}
func (o *Options) SetRetryBufferLimit(retryBufferLimit uint) *Options {
	o.WriteOptions().SetRetryBufferLimit(retryBufferLimit)
	return o
}
func (o *Options) MaxRetryInterval() uint {
	return o.WriteOptions().MaxRetryInterval()
}
func (o *Options) SetMaxRetryInterval(maxRetryIntervalMs uint) *Options {
	o.WriteOptions().SetMaxRetryInterval(maxRetryIntervalMs)
	return o
}
func (o *Options) MaxRetryTime() uint {
	return o.WriteOptions().MaxRetryTime()
}
func (o *Options) SetMaxRetryTime(maxRetryTimeMs uint) *Options {
	o.WriteOptions().SetMaxRetryTime(maxRetryTimeMs)
	return o
}
func (o *Options) ExponentialBase() uint {
	return o.WriteOptions().ExponentialBase()
}
func (o *Options) SetExponentialBase(exponentialBase uint) *Options {
	o.WriteOptions().SetExponentialBase(exponentialBase)
	return o
}
func (o *Options) LogLevel() uint {
	return o.logLevel
}