# Functions
DefaultLogOptions default log options.
GetModuleLogger returns the module logger, it will add ".module" to logger name.
GetServiceLogger returns service logger, it will using the service as the logger name, and append FieldNameServiceUUID field to the logger.
# Variables
Close close serivce or components process.
FieldNameCost cost field name, this field is used to log how long a function, operation or other action takes.
FieldNameProcess process of the mo, e.g.
FieldNameProcessID the log of a processing process may be distributed in many places, we can search all the logs associated with the current process by process-id.
FieldNameServiceUUID service uuid field name.
SystemInit system init process.
Txn transaction process.
TxnClient txn client module.
# Type aliases
Module used to describe which component module the log belongs to.
Process used to describe which process the log belongs to.
SampleType there are some behaviours in the system that print debug logs frequently, such as the scheduling of HAKeeper, which may print hundreds of logs a second.