alog

package
v0.0.0-...-9625bed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 3 Imported by: 9

Documentation

Overview

Package alog contains some methods from the glog package, but also logs errors to the CloudMessage

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(args ...interface{})

func Errorf

func Errorf(format string, args ...interface{})

func Exit

func Exit(args ...interface{})

func Exitf

func Exitf(format string, args ...interface{})

func Fatal

func Fatal(args ...interface{})

func Fatalf

func Fatalf(format string, args ...interface{})

func Flush

func Flush()

func Info

func Info(args ...interface{})

func InfoSend

func InfoSend(args ...interface{})

func InfoSendUrgent

func InfoSendUrgent(args ...interface{})

func InfoSendUrgentf

func InfoSendUrgentf(format string, args ...interface{})

func InfoSendf

func InfoSendf(format string, args ...interface{})

func Infof

func Infof(format string, args ...interface{})

func UseFormattedPayload

func UseFormattedPayload(appName string)

When appName is set, the formatted payload will be used for the cloud messages: $from [$hostname]|$priority|$message

func Warning

func Warning(args ...interface{})

func Warningf

func Warningf(format string, args ...interface{})

Types

type Verbose

type Verbose bool

func V

func V(level int) Verbose

func (Verbose) Info

func (v Verbose) Info(args ...interface{})

func (Verbose) Infof

func (v Verbose) Infof(format string, args ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL