logging

package
v0.0.0-...-8567bd0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package logging ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogPanic

func LogPanic(log Logger)

LogPanic will catch a panic and log it

Types

type Logger

type Logger = zerolog.Logger

Logger ...

func New

func New() Logger

New creates a new Logger

type PionLoggingFactory

type PionLoggingFactory struct {
	PeerAlias       uint64
	DefaultLogLevel zerolog.Level
}

PionLoggingFactory is the log factory expected by pion

func (*PionLoggingFactory) NewLogger

func (f *PionLoggingFactory) NewLogger(scope string) pionlogging.LeveledLogger

NewLogger creates a new logger for the given scope

Jump to

Keyboard shortcuts

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