COSClient constructor

COSClient({
  1. required COSConfig config,
  2. Level? loggerLevel,
})

COS 客户端 config 全局配置 loggerLevel 日志等级

Implementation

COSClient({
  required this.config,
  Level? loggerLevel,
}) {
  Logger.level = loggerLevel ?? Level.all;
}