util

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPropertyValue

func GetPropertyValue(prop *ical.Prop) string

func HoursMinutes

func HoursMinutes(dt time.Time) int

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func NewLogger

func NewLogger(plugin plugin.API) *Logger

func (*Logger) Error

func (l *Logger) Error(msg string, userId *string)

func (*Logger) LogCustomError

func (l *Logger) LogCustomError(msg string, keyValuePairs ...interface{})

func (*Logger) LogDebug

func (l *Logger) LogDebug(msg string)

func (*Logger) LogError

func (l *Logger) LogError(msg string, userId *string, err error)

func (*Logger) LogInfo

func (l *Logger) LogInfo(msg string)

func (*Logger) LogWarn

func (l *Logger) LogWarn(msg string, userId *string, err error)

func (*Logger) Warn

func (l *Logger) Warn(msg string, userId *string)

Jump to

Keyboard shortcuts

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