logctx

package module
v0.0.0-...-6bc29aa Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

======================================================================= logging_context.go Created: Sat Aug 09 04:10:06 PDT 2014 @507 /Internet Time/ :mode=Google go:tabSize=3:indentSize=3:

Modified 2015.6.5: added map and stack.

Purpose: ======================================================================

Index

Constants

This section is empty.

Variables

View Source
var LoggingContextCount int

Functions

This section is empty.

Types

type LoggingContext

type LoggingContext struct {
	Name   string
	Cls    string
	Usable bool
	// contains filtered or unexported fields
}

func NewLoggingContext

func NewLoggingContext() *LoggingContext

======================================================================

func (*LoggingContext) AddLogger

func (lc *LoggingContext) AddLogger(name string, lfpath string) error

======================================================================

func (*LoggingContext) AddLoggerFromString

func (lc *LoggingContext) AddLoggerFromString(name string, lcfg string) error

======================================================================

func (*LoggingContext) Criticalf

func (lc *LoggingContext) Criticalf(lname string, f string, p ...interface{}) error

======================================================================

func (*LoggingContext) Debugf

func (lc *LoggingContext) Debugf(lname string, f string, p ...interface{})

======================================================================

func (*LoggingContext) Default

func (lc *LoggingContext) Default() error

======================================================================

func (*LoggingContext) Errorf

func (lc *LoggingContext) Errorf(lname string, f string, p ...interface{}) error

======================================================================

func (*LoggingContext) Fatalf

func (lc *LoggingContext) Fatalf(lname string, f string, p ...interface{})

======================================================================

func (*LoggingContext) Flush

func (lc *LoggingContext) Flush()

======================================================================

func (*LoggingContext) Infof

func (lc *LoggingContext) Infof(lname string, f string, p ...interface{})

======================================================================

func (*LoggingContext) Panicf

func (lc *LoggingContext) Panicf(lname string, f string, p ...interface{})

======================================================================

func (*LoggingContext) Pop

func (lc *LoggingContext) Pop() (error, bool)

======================================================================

If second return arg == true, logging will continue,
 regardless of error.

======================================================================

func (*LoggingContext) Push

func (lc *LoggingContext) Push(name string) (error, bool)

======================================================================

If second return arg == true, logging will continue,
 regardless of error.

======================================================================

func (*LoggingContext) SwitchTo

func (lc *LoggingContext) SwitchTo(name string) (error, bool)

======================================================================

If second return arg == true, logging will continue,
 regardless of error.

======================================================================

func (*LoggingContext) Tracef

func (lc *LoggingContext) Tracef(lname string, f string, p ...interface{})

======================================================================

func (*LoggingContext) Warnf

func (lc *LoggingContext) Warnf(lname string, f string, p ...interface{}) error

======================================================================

Jump to

Keyboard shortcuts

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