package
2.5.2+incompatible
Repository: https://github.com/chubaofs/cfs.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
InitLog initializes the log.
LogFatal logs the fatal errors.
LogFatalf logs the fatal errors with specified format.
LogDebug logs the debug information.
LogDebugf logs the debug information with specified format.
LogError logs the errors.
LogErrorf logs the errors with the specified format.
LogFatal logs the fatal errors.
LogFatalf logs the fatal errors with specified format.
LogFlush flushes the log.
LogInfo indicates log the information.
LogInfo indicates log the information with specific format.
LogRead.
TODO not used?.
LogWarn indicates the warnings.
LogWarnf indicates the warnings with specific format.
LogWrite.
LogWritef TODO not used.
NewLogRotate returns a new LogRotate instance.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
DefaultHeadRatio The disk reserve space ratio.
DefaultHeadRoom The tolerance for the log space limit (in megabytes).
No description provided by the author
No description provided by the author
DefaultRollingSize Specifies at what size to roll the output log at Units: byte.
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
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
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

# Variables

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
No description provided by the author

# Structs

HTTPReply uniform response structure.
Log defines the log struct.
LogObject defines the log object.
A log can be rotated by the size or time.

# Type aliases

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