Documentation ¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Debugw(msg string, keysAndValues ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Errorw(msg string, keysAndValues ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Fatalw(msg string, keysAndValues ...interface{})
- func GlobalLogger() *zap.SugaredLogger
- func GlobalSync() error
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Infow(msg string, keysAndValues ...interface{})
- func InitGlobalLogger(isDev bool) error
- func Log(lvl zapcore.Level, args ...interface{})
- func Logf(lvl zapcore.Level, template string, args ...interface{})
- func Logw(lvl zapcore.Level, msg string, keysAndValues ...interface{})
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- func Warnw(msg string, keysAndValues ...interface{})
- type WailsLogger
- func (wl *WailsLogger) Debug(message string)
- func (wl *WailsLogger) Error(message string)
- func (wl *WailsLogger) Fatal(message string)
- func (wl *WailsLogger) Info(message string)
- func (wl *WailsLogger) Print(message string)
- func (wl *WailsLogger) Trace(message string)
- func (wl *WailsLogger) Warning(message string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GlobalLogger ¶
func GlobalLogger() *zap.SugaredLogger
func GlobalSync ¶
func GlobalSync() error
func InitGlobalLogger ¶
Types ¶
type WailsLogger ¶
type WailsLogger struct {
// contains filtered or unexported fields
}
func NewWailsLogger ¶
func NewWailsLogger(logger *zap.SugaredLogger) *WailsLogger
func (*WailsLogger) Debug ¶
func (wl *WailsLogger) Debug(message string)
func (*WailsLogger) Error ¶
func (wl *WailsLogger) Error(message string)
func (*WailsLogger) Fatal ¶
func (wl *WailsLogger) Fatal(message string)
func (*WailsLogger) Info ¶
func (wl *WailsLogger) Info(message string)
func (*WailsLogger) Print ¶
func (wl *WailsLogger) Print(message string)
func (*WailsLogger) Trace ¶
func (wl *WailsLogger) Trace(message string)
func (*WailsLogger) Warning ¶
func (wl *WailsLogger) Warning(message string)
Click to show internal directories.
Click to hide internal directories.