Versions in this module Expand all Collapse all v1 v1.0.1 Sep 6, 2018 v1.0.0 Mar 30, 2018 Changes in this version + var Default = New(To(os.Stderr), WithShortFile(), WithDateFormat(time.RFC3339), WithUTC()) + func AddTags(ctx context.Context, pairs ...string) context.Context + func Print(ctx context.Context, v ...interface{}) + func Printf(ctx context.Context, f string, v ...interface{}) + type Entry struct + File string + Line int + Msg string + Tags [][2]string + Time time.Time + type Logger struct + func New(opts ...Option) *Logger + func (l *Logger) EmitText(w io.Writer) func(e *Entry) + func (l *Logger) Output(ctx context.Context, calldepth int, msg string) + func (l *Logger) Print(ctx context.Context, v ...interface{}) + func (l *Logger) Printf(ctx context.Context, f string, v ...interface{}) + type Option func(*Logger) + func To(w io.Writer) Option + func WithDateFormat(layout string) Option + func WithEmitter(f func(e *Entry)) Option + func WithFile() Option + func WithPrefix(prefix string) Option + func WithShortFile() Option + func WithUTC() Option Other modules containing this package github.com/vimeo/alog/v2 github.com/vimeo/alog/v3