storagelog

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddressField

func AddressField(addr interface{}) 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

AddressField returns logger's field for operation 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