Help us shape the future of Go! Take the 2026 Go Developer Survey

gxlog

package module
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 4 Imported by: 0

README

gxlog

This gxlog is a simplified version of gxlog/gxlog.

+----------------------------------------------------------------+
|                             Logger                             |
|                          Level [Filter]                        |
| Record                                                         |
|   | +-------+------------------------------------------------+ |
|   |-| Slot0 | Formatter Writer Level [Filter] [ErrorHandler] | |
|   | +-------+------------------------------------------------+ |
|   |-|  ...  |              ...                               | |
|   | +-------+------------------------------------------------+ |
|   \-| Slot7 | Formatter Writer Level [Filter] [ErrorHandler] | |
|     +-------+------------------------------------------------+ |
+----------------------------------------------------------------+

Documentation

Overview

Package gxlog provides the default Logger and the default Formatter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Formatter

func Formatter() *text.Formatter

func Logger

func Logger() *logger.Logger

Types

This section is empty.

Directories

Path Synopsis
_examples
additional command
basic command
filter command
formatters command
slots command
writers command
Package formatter provides wrappers to the interface iface.Formatter.
Package formatter provides wrappers to the interface iface.Formatter.
json
Package json implements a json formatter.
Package json implements a json formatter.
text
Package text implements a text formatter.
Package text implements a text formatter.
Package iface contains basic definitions for logging.
Package iface contains basic definitions for logging.
Package logger implements a concise, powerful, flexible and extensible logger.
Package logger implements a concise, powerful, flexible and extensible logger.
Package writer provides wrappers to the interface iface.Writer.
Package writer provides wrappers to the interface iface.Writer.
file
Package file implements a file writer.
Package file implements a file writer.
syslog
Package syslog implements a syslog writer.
Package syslog implements a syslog writer.
unix
Package unix implements a unix domain socket writer.
Package unix implements a unix domain socket writer.

Jump to

Keyboard shortcuts

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