mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-07-13 09:51:49 +08:00

* feat: opamp server application * chore: opamp * chore: refactor server implementation * chore: add Stop * chore: merged opamp updates * chore: removed all errorf * chore: added a comment about zero version * feat: added user context for created by * chore: changed debugf to debug * chore: removed lb from opamp + added config parser * fix: added userid to ConfigNewVersion() * chore: removed user id from contxt and added config parser * fix: removed lock inside re-deploy * chore: added config db fix * fix: merged app/server.go from develop * fix: restored extract jwt * Update pkg/query-service/app/server.go Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com> * fix: dependency version fix and import added --------- Co-authored-by: Pranay Prateek <pranay@signoz.io> Co-authored-by: Palash Gupta <palashgdev@gmail.com> Co-authored-by: mindhash <mindhash@mindhashs-MacBook-Pro.local> Co-authored-by: Nityananda Gohain <nityanandagohain@gmail.com>
16 lines
258 B
Go
16 lines
258 B
Go
package opamp
|
|
|
|
import "log"
|
|
|
|
type Logger struct {
|
|
logger *log.Logger
|
|
}
|
|
|
|
func (l *Logger) Debugf(format string, v ...interface{}) {
|
|
l.logger.Printf(format, v...)
|
|
}
|
|
|
|
func (l *Logger) Errorf(format string, v ...interface{}) {
|
|
l.logger.Printf(format, v...)
|
|
}
|