Documentation ¶
Index ¶
Constants ¶
View Source
const NoticeLevel zapcore.Level = zapcore.DebugLevel - 1
Variables ¶
This section is empty.
Functions ¶
func NewLogglyZapCore ¶ added in v1.2.0
func NewLogglyZapCore(w *LogglyLogWriter) zapcore.Core
Types ¶
type LoggerDependency ¶
type LoggerInterface ¶
type LoggerInterface interface { Info(string, ...zapcore.Field) Error(string, error, ...zapcore.Field) Warning(string, ...zapcore.Field) Flush() }
func BuildNewLogger ¶
func BuildNewLogger(cores ...zapcore.Core) LoggerInterface
func NewLogger ¶
func NewLogger(ld *LoggerDependency) LoggerInterface
type LogglyLogWriter ¶ added in v1.2.0
func NewLogglyLogWriter ¶ added in v1.2.0
func NewLogglyLogWriter(d LogglyLogWriterDependency) *LogglyLogWriter
Click to show internal directories.
Click to hide internal directories.