Discover Packages
github.com/G-Node/gin-valid
internal
log
package
Version:
v0.0.0-...-aad41ea
Opens a new window with list of versions in this module.
Published: Feb 27, 2025
License: BSD-3-Clause
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Close trims and closes the log file, errors are ignored.
Init initialises log file and logger.
func ShowWrite(fmtstr string , args ...interface{})
ShowWrite writes a string to Stdout and passes
the arguments on to the log Writer function.
func Write(fmtstr string , args ...interface{})
Write writes a string to the log file if there is an initialized logger.
Depending on the number of arguments, Write behaves like Print or Printf,
the first argument must always be a string.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.