Skip to main content

logs

TODO!Need Update. Only write info and title.

Feature Introduction

Description

打印SDK Core格式的日志。
logLevel为日志等级,logLevel为6时,打印带SQL语句的Debug日志。logLevel为5时,打印Debug日志。logLevel为4时,打印Info日志。logLevel为3时,打印Warn日志。logLevel为2时,打印Error日志。
file为调用打印日志接口所在文件的相对路径,line为文件具体行数。msg为对当前日志的自定义描述信息,err为传入预计的错误。keyAndValues为对需要额外打印字段的描述和具体值的键值对。