Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config contains the details for configuring Logging
var Logging *Config
Logging is a singleton for managing logging
func (*Config) Init ¶
func (s *Config) Init()
Init set-ups logging for the Logrus library, incl. App name, environment and release, and Sentry DSN
func (*Config) SetFromConfig ¶
SetFromConfig sets App name and env, Log format, debug and Sentry DSN from config settings
Click to show internal directories.
Click to hide internal directories.