log

package
v0.0.9907-alpha Latest Latest
Warning

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

Go to latest
Published: May 3, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CEREBRO

func CEREBRO() *zap.Logger

CEREBRO is a method for getting the Cerebro logger.

func COMIC

func COMIC() *zap.Logger

COMIC is a method for getting the comic logger.

func DCIMPORTER

func DCIMPORTER() *zap.Logger

DCIMPORTER is a method for getting the DC character importer logger.

func Db

func Db() *zap.Logger

Db is a method for getting the DB logger.

func IMAGING

func IMAGING() *zap.Logger

IMAGING is a method for getting the imaging logger.

func Logger

func Logger(name Name) *zap.Logger

Logger safely gets a logger from a name (concurrent-safe).

func MARVELIMPORTER

func MARVELIMPORTER() *zap.Logger

MARVELIMPORTER is a method for getting the Marvel character importer logger.

func MIGRATIONS

func MIGRATIONS() *zap.Logger

MIGRATIONS is a method for getting the Migrations logger.

func WEB

func WEB() *zap.Logger

WEB is a method for getting the Web logger.

Types

type Name

type Name string

Name is the name type for a logger.

const (
	// DB is a logger name for db-related things.
	DB Name = "db"
	// Cerebro is the logger name for cerebro-related.
	Cerebro Name = "cerebro"
	// DCCharacterImporter is the logger name for importing dc stuff.
	DCCharacterImporter Name = "dccharacterimporter"
	// MarvelCharacterImporter is the logge rname for importing marvel stuff.
	MarvelCharacterImporter Name = "marvelcharacterimporter"
	// Queue is the logger for queuing stuff.
	Queue Name = "charactersyncqueue"
	// Web is the logger for web-related stuff.
	Web Name = "web"
	// Migrations is the logger for migration-related stuff.
	Migrations Name = "migrations"
	// Comic is the logger for comic package stuff.
	Comic Name = "comic"
	// Imaging is the logger for imaging.
	Imaging Name = "imaging"
)

func (Name) Value

func (n Name) Value() string

Value gets the string value.

Jump to

Keyboard shortcuts

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