package
Version:
v0.0.0-...-821bc58
Opens a new window with list of versions in this module.
Published: Jun 18, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Metrics is a logrus hook-compliant struct that records metrics about logging
when added to a logrus.Logger
New creates a new logger according to horizon specifications.
NewMetrics creates a new hook for recording metrics.
Fire is triggered by logrus, in response to a logging event
Levels returns the logging levels that will trigger this hook to run. In
this case, all of them.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.