Senyo Simpson
b8cfb1bf38
add license, comments and support for creating a logger from slog
2025-01-08 13:37:41 +00:00
Senyo Simpson
2ea2063625
add support for slog logger
2025-01-08 13:37:41 +00:00
Brian Goff
f617ccebc5
Fixup some new lint issues
...
Signed-off-by: Brian Goff <cpuguy83@gmail.com >
2022-08-31 00:58:56 +00:00
Pires
346c20c005
log: fix klogv2.WithField(s)
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-20 13:53:23 +00:00
Pires
cb0e18e6a1
log: refactor klogv2 tests
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-15 18:47:50 +00:00
Pires
25b8c546a0
log: process fields only on first klog call
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-15 18:23:32 +00:00
Pires
46bfb01cd4
log: fix klogv2 With* funcs
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-14 21:07:04 +00:00
Pires
c2b4863f40
log: fix klog depth
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-14 20:23:46 +00:00
Pires
be76c022ae
log: validate log.Logger impl at compile time
...
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-11 18:17:01 +00:00
Pires
eda7adbdb4
log: add klog/v2
...
Fixes #924
Signed-off-by: Pires <pjpires@gmail.com >
2021-01-10 23:42:06 +00:00
jerryzhuang
0ba0200067
fix several typo
...
Signed-off-by: zhuangqh <zhuangqhc@gmail.com >
2019-07-17 10:36:17 +08:00
Brian Goff
bd742d5d99
Add license details on file heads. ( #665 )
...
Realized as I was starting to copy some stuff to other repos that we
should go ahead and add this.
2019-06-13 10:13:14 -07:00
Sargun Dhillon
740bec9ea0
Remove old github.com/Sirupsen/logrus
2019-05-06 17:26:05 -07:00
Brian Goff
1bfffa975e
Make tracing interface to coalesce logging/tracing ( #519 )
...
* Define and use an interface for logging.
This allows alternative implementations to use whatever logging package
they want.
Currently the interface just mimicks what logrus already implements,
with minor modifications to not rely on logrus itself. I think the
interface is pretty solid in terms of logging implementations being able
to do what they need to.
* Make tracing interface to coalesce logging/tracing
Allows us to share data between the tracer and the logger so we can
simplify log/trace handling wher we generally want data to go both
places.
2019-02-22 11:36:03 -08:00
Brian Goff
1e774a32b3
Use standard logging package ( #323 )
2018-08-17 16:50:24 -07:00