logging

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2020 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Overview

Package logging implements wrapper around Storage that logs all activity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWrapper

func NewWrapper(wrapped blob.Storage, printf func(msg string, args ...interface{}), prefix string) blob.Storage

NewWrapper returns a Storage wrapper that logs all storage commands.

Types

type Option

type Option func(s *loggingStorage)

Option modifies the behavior of logging storage wrapper.

Jump to

Keyboard shortcuts

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