Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slog

GoLang package slog provides alternative syslog client API. An internal syslog writer used to send messages to a syslog service with options to tune it.

slog is not an officially supported Google product.

Example

	// ...

        if f, err := slog.ParseFacility(syslogFacility); err != nil {
                slog.Err(err)
                os.Exit(exTempFail)
        } else {
                slog.Init(slog.WithFacility(f))
        }

	// ...

        slog.Info("Job ID: ", jobId)
        slog.Info("Message-Id: ", mime.GetHeader("Message-Id"))

	// ...

About

Go package slog provides alternative syslog client API

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages