// Copyright (c) 2023 Gitpod GmbH. All rights reserved.1// Licensed under the GNU Affero General Public License (AGPL).2// See License.AGPL.txt in the project root for license information.34package log56import (7"context"89"github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/ctxlogrus"10"github.com/sirupsen/logrus"11)1213func Extract(ctx context.Context) *logrus.Entry {14return ctxlogrus.Extract(ctx)15}1617func AddFields(ctx context.Context, fields logrus.Fields) {18ctxlogrus.AddFields(ctx, fields)19}2021func ToContext(ctx context.Context, entry *logrus.Entry) context.Context {22return ctxlogrus.ToContext(ctx, entry)23}242526