Versions in this module Expand all Collapse all v7 v7.1.0 Mar 26, 2021 Changes in this version + const Remove_journal — linux/amd64 + const Remove_writer — linux/amd64 + const Sd_message — linux/amd64 + const Sd_tag — linux/amd64 + var Log_alert = Priority(strconv.Itoa(int(syslog.LOG_ALERT))) — linux/amd64 + var Log_crit = Priority(strconv.Itoa(int(syslog.LOG_CRIT))) — linux/amd64 + var Log_debug = Priority(strconv.Itoa(int(syslog.LOG_DEBUG))) — linux/amd64 + var Log_emerg = Priority(strconv.Itoa(int(syslog.LOG_EMERG))) — linux/amd64 + var Log_err = Priority(strconv.Itoa(int(syslog.LOG_ERR))) — linux/amd64 + var Log_info = Priority(strconv.Itoa(int(syslog.LOG_INFO))) — linux/amd64 + var Log_notice = Priority(strconv.Itoa(int(syslog.LOG_NOTICE))) — linux/amd64 + var Log_warning = Priority(strconv.Itoa(int(syslog.LOG_WARNING))) — linux/amd64 + func Set_default_colors(colors map[Priority]Writer_option) — linux/amd64 + func Set_default_disable_journal(disable bool) option — linux/amd64 + func Set_default_remove_ansi(rm remove_ansi_escape) option — linux/amd64 + func Set_default_remove_ansi_escape(rm remove_ansi_escape) — linux/amd64 + func Set_default_writer(w io.Writer) option — linux/amd64 + func Set_default_writer_stderr() option — linux/amd64 + func Set_default_writer_stdout() option — linux/amd64 + func Set_field(name string, value interface{}) option — linux/amd64 + func Set_message_id(uuid string) — linux/amd64 + func Set_priority(p Priority) option — linux/amd64 + func Set_remove_ansi(rm remove_ansi_escape) option — linux/amd64 + func Set_writer(w io.Writer) option — linux/amd64 + type Journal struct — linux/amd64 + func New(opt ...option) *Journal + func New_journal() *Journal + func New_journal_m(default_fields map[string]interface{}) *Journal + func (j *Journal) Alert(a ...interface{}) error + func (j *Journal) Alert_a(fields []string, a ...interface{}) error + func (j *Journal) Alert_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Alert_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Alert_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Alertf(format string, a ...interface{}) error + func (j *Journal) Crit(a ...interface{}) error + func (j *Journal) Crit_a(fields []string, a ...interface{}) error + func (j *Journal) Crit_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Crit_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Crit_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Critf(format string, a ...interface{}) error + func (j *Journal) Debug(a ...interface{}) error + func (j *Journal) Debug_a(fields []string, a ...interface{}) error + func (j *Journal) Debug_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Debug_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Debug_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Debugf(format string, a ...interface{}) error + func (j *Journal) Emerg(a ...interface{}) error + func (j *Journal) Emerg_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Emerg_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Err(a ...interface{}) error + func (j *Journal) Err_a(fields []string, a ...interface{}) error + func (j *Journal) Err_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Err_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Err_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Errf(format string, a ...interface{}) error + func (j *Journal) Info(a ...interface{}) error + func (j *Journal) Info_a(fields []string, a ...interface{}) error + func (j *Journal) Info_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Info_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Info_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Infof(format string, a ...interface{}) error + func (j *Journal) Notice(a ...interface{}) error + func (j *Journal) Notice_a(fields []string, a ...interface{}) error + func (j *Journal) Notice_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Notice_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Notice_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Noticef(format string, a ...interface{}) error + func (j *Journal) Send(fields map[string]interface{}) error + func (j *Journal) Set_add_go_code_fields(use bool) + func (j *Journal) Set_default_fields(fields map[string]interface{}) + func (j *Journal) Set_writer_priority(p Priority) *Journal + func (j *Journal) Stack_skip(skip int) *Journal + func (j *Journal) Warning(a ...interface{}) error + func (j *Journal) Warning_a(fields []string, a ...interface{}) error + func (j *Journal) Warning_a_f(fields []string, format string, a ...interface{}) error + func (j *Journal) Warning_m(fields map[string]interface{}, a ...interface{}) error + func (j *Journal) Warning_m_f(fields map[string]interface{}, format string, a ...interface{}) error + func (j *Journal) Warningf(format string, a ...interface{}) error + func (j *Journal) Write(b []byte) (int, error) + func (o *Journal) Option(opt ...option) (previous option) + type Priority string — linux/amd64 + type Writer_option struct — linux/amd64 + Color string + Include_file bool Other modules containing this package github.com/aletheia7/sd/v6