package
Version:
v1.8.1
Opens a new window with list of versions in this module.
Published: Jan 8, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
MakeThreadSafeLogger returns a logger that is synchronized with the internal mutex, if no file is provided write
to os.Stdout.
MakeThreadSafeLoggerWithWriter creates a logger using a ThreadSafeWriter output.
ThreadSafeWriter a struct that implements io.Writer in a threadsafe way
Write writes p bytes with the mutex
Source Files
¶
Click to show internal directories.
Click to hide internal directories.