package
0.0.0-20240921075318-a8c716a2f2d8
Repository: https://github.com/8xmx8/easier.git
Documentation: pkg.go.dev

# Functions

DefaultLogger 返回一个基础的默认logger实例.
No description provided by the author
IsAppError 比较.
No description provided by the author
NewLogger 创建logger实例对象: opts: logger包提供的对logger配置参数的配置方法.
NopLogger 一个空的log实例.
SetDebug 用于创建logger时,设置是否处于开发环境 ps: 会将Level设置成debug.
SetLevel 创建Logger实例时, 设置日志等级.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

etcd操作.
No description provided by the author
No description provided by the author
cache.
并发.
No description provided by the author
ES.
No description provided by the author
网络请求错误.
No description provided by the author
No description provided by the author
kafka.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
mysql.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
参数.
No description provided by the author
redis.
No description provided by the author
API Router.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AppError 业务逻辑错误对象.
AppLogger 实现一个logger.
Field 可以指定关键信息.

# Interfaces

Logger 定义logger接口.

# Type aliases

Level 声明日志级别.
No description provided by the author