go-ceph/internal
Sven Anderson c610c53b54 common: implement a common log package
This change adds two log packages.  One for the external go-ceph
consumers under common/log, and one for the internal use within the
go-ceph code under internal/log.  The external package exports two
functions for consumers, SetWarnf() and SetDebugf(), that set a
logger for warnings and debug messages respectively. They take a
log.Printf compatible function as argument.

The internal package exports these functions as Warnf() and Debugf(),
which can be used by the go-ceph code to log warnings and debug
messages.

Signed-off-by: Sven Anderson <sven@redhat.com>
2022-02-23 16:30:08 +01:00
..
admintest admintest: new helper pkg for */admin type test suites 2022-02-08 15:55:02 +00:00
callbacks callbacks: replace index with unique ID 2020-11-05 17:16:32 +00:00
commands internal commands: add EmptyBody filter function 2021-08-03 07:25:28 +00:00
cutil cutil: fix revive error 2022-02-08 15:17:34 +00:00
errutil errutil: replace unused StrError with FormatErrorCode function 2020-08-10 13:03:24 -04:00
log common: implement a common log package 2022-02-23 16:30:08 +01:00
retry retry: add a helper lib for retrying common operations 2020-04-20 15:08:36 -04:00
timespec timespec: add a helper function to convert from Timespec to C 2021-01-12 14:47:30 +00:00