omni/internal/backend/logging/logging.go
Artem Chernyshev ed946b30a6
feat: display OMNI_ENDPOINT in the service account creation UI
Fixes: https://github.com/siderolabs/omni/issues/858

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
2025-01-29 15:27:36 +03:00

17 lines
380 B
Go

// Copyright (c) 2025 Sidero Labs, Inc.
//
// Use of this software is governed by the Business Source License
// included in the LICENSE file.
// Package logging contains zap logging helpers.
package logging
import (
"go.uber.org/zap"
)
// Component returns the well-known "component" zap field.
func Component(name string) zap.Field {
return zap.String("component", name)
}