package
0.1.0
Repository: https://github.com/maycmf/core.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddHook - Increase log hooks.
Debugf - Write debug log.
Errorf - Write error log.
Fatalf Write a major error log.
FromTraceIDContext - Get the tracking ID from the context.
FromUserUUIDContext - Get the user ID from the context.
Infof - Write to the message log.
NewTraceIDContext - Create a tracking ID context.
NewUserUUIDContext - Create a user ID context.
Printf - Write to the message log.
SetFormatter - Set the log output format.
SetLevel - Set the log level.
SetOutput - Set log output.
SetSpanFuncName - Set the function name of the tracking unit.
SetSpanTitle - Set the title of the tracking unit.
SetTraceIDFunc - Set the processing function of the tracking ID.
SetVersion - Setting version.
StandardLogger - Get standard logs.
StartSpan - Start a tracking unit.
StartSpanWithCall - Start a tracking unit (callback execution).
Warnf - Write warning log.

# Constants

Define key name.
Define key name.
Define key name.
Define key name.
Define key name.

# Structs

Entry
Entry - Define a unified log write mode.

# Type aliases

Hook - Define a log hook alias.
Logger - Define a log alias.
SpanOption - Define the data item of the tracking unit.
TraceIDFunc - Define the function to get the tracking ID.