Documentation
¶
Overview ¶
Package log 已弃用
Deprecated: 请使用 github.com/go-admin-team/go-admin-core/observe/audit 替代。 本包将在 v2.0.0 版本中移除。
迁移指南:
旧导入: import "github.com/go-admin-team/go-admin-core/observability/audit" 新导入: import "github.com/go-admin-team/go-admin-core/observe/audit"
Index ¶
- Variables
- func JSONFormat(r Record) stringdeprecated
- func TextFormat(r Record) stringdeprecated
- type FormatFuncdeprecated
- type Logdeprecated
- type Optiondeprecated
- func Format(f FormatFunc) Optiondeprecated
- func Name(n string) Optiondeprecated
- func Size(s int) Optiondeprecated
- type Optionsdeprecated
- type ReadOptiondeprecated
- func Count(c int) ReadOptiondeprecated
- func Since(s time.Time) ReadOptiondeprecated
- type ReadOptionsdeprecated
- type Recorddeprecated
- type Streamdeprecated
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.DefaultSize 替代 DefaultSize = newaudit.DefaultSize // Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.DefaultFormat 替代 DefaultFormat = newaudit.DefaultFormat )
Functions ¶
func JSONFormat
deprecated
func TextFormat
deprecated
Types ¶
type FormatFunc
deprecated
type FormatFunc = newaudit.FormatFunc
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.FormatFunc 替代
type Option
deprecated
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.Option 替代
func Format
deprecated
func Format(f FormatFunc) Option
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.Format 替代
type ReadOption
deprecated
type ReadOption = newaudit.ReadOption
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.ReadOption 替代
func Count
deprecated
func Count(c int) ReadOption
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.Count 替代
func Since
deprecated
func Since(s time.Time) ReadOption
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.Since 替代
type ReadOptions
deprecated
type ReadOptions = newaudit.ReadOptions
Deprecated: 使用 github.com/go-admin-team/go-admin-core/observe/audit.ReadOptions 替代
Click to show internal directories.
Click to hide internal directories.