Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 349 Bytes

log.md

File metadata and controls

24 lines (14 loc) · 349 Bytes

#log

Various log levels available to log from the Aerospike API. Default is set to OFF.

  import asl "github.com/aerospike/aerospike-client-go/v7/logger"

  asl.Logger.SetLevel(asl.OFF)

You can set the Logger to any object that supports log.Logger interface.

Log levels:

ERROR
WARN
INFO
DEBUG
OFF