storagelog

package
v0.43.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: GPL-3.0 Imports: 1 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 added in v0.34.0

func StorageIDField(id []byte) zap.Field

StorageIDField returns logger's field for storage ID.

func StorageTypeField added in v0.34.0

func StorageTypeField(typ string) zap.Field

StorageTypeField returns logger's field for storage type.

func Write

func Write(logger *zap.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