storagelog

package
v0.44.0-rc.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 6, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressField

func AddressField(addr any) zap.Field

AddressField returns logger's field for object address.

Address should be type of *object.Address or string.

func OpField

func OpField(op string) zap.Field

OpField returns logger's field for operation type.

func StorageIDField

func StorageIDField(id []byte) zap.Field

StorageIDField returns logger's field for storage ID.

func StorageTypeField

func StorageTypeField(typ string) zap.Field

StorageTypeField returns logger's field for storage type.

func Write

func Write(logger *logger.Logger, fields ...zap.Field)

Write writes message about storage engine's operation to logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL