Discover Packages
github.com/IOTechSystems/go-mod-edge-utils
pkg
log
mocks
package
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Nov 20, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Types
type Logger
NewLogger(t)
(_m) Debug(msg, args)
(_m) Debugf(msg, args)
(_m) Error(msg, args)
(_m) Errorf(msg, args)
(_m) Info(msg, args)
(_m) Infof(msg, args)
(_m) LogLevel()
(_m) SetLogLevel(logLevel)
(_m) Trace(msg, args)
(_m) Tracef(msg, args)
(_m) Warn(msg, args)
(_m) Warnf(msg, args)
Source Files
Documentation
Documentation
¶
type Logger
func (_m *Logger) Debug(msg string, args ...any)
func (_m *Logger) Debugf(msg string, args ...any)
func (_m *Logger) Error(msg string, args ...any)
func (_m *Logger) Errorf(msg string, args ...any)
func (_m *Logger) Info(msg string, args ...any)
func (_m *Logger) Infof(msg string, args ...any)
func (_m *Logger) LogLevel() string
func (_m *Logger) SetLogLevel(logLevel string) error
func (_m *Logger) Trace(msg string, args ...any)
func (_m *Logger) Tracef(msg string, args ...any)
func (_m *Logger) Warn(msg string, args ...any)
func (_m *Logger) Warnf(msg string, args ...any)
Logger is an autogenerated mock type for the Logger type
NewLogger creates a new instance of Logger. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
The first argument is typically a *testing.T value.
Debug provides a mock function with given fields: msg, args
Debugf provides a mock function with given fields: msg, args
Error provides a mock function with given fields: msg, args
Errorf provides a mock function with given fields: msg, args
Info provides a mock function with given fields: msg, args
Infof provides a mock function with given fields: msg, args
LogLevel provides a mock function with given fields:
SetLogLevel provides a mock function with given fields: logLevel
Trace provides a mock function with given fields: msg, args
Tracef provides a mock function with given fields: msg, args
Warn provides a mock function with given fields: msg, args
Warnf provides a mock function with given fields: msg, args
Source Files
¶
Click to show internal directories.
Click to hide internal directories.