logfactory

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package logfactory contains a factory for LogRecord entity.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLogDepth

func GetLogDepth() int

GetLogDepth returns depth for runtime.Caller.

func New

func New(v ...interface{}) *logutil.LogRecord

New returns an instance of LogRecord.

func NewF

func NewF(format string, a ...interface{}) *logutil.LogRecord

NewF returns an instance of LogRecord with formatted message.

func SetLogDepth

func SetLogDepth(depth int)

SetLogDepth sets depth for runtime.Caller depth.

Types

This section is empty.

Jump to

Keyboard shortcuts

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