// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may not
// use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
// either express or implied. See the License for the specific language governing
// permissions and limitations under the License.
package telemetrylog

type TelemetryLog interface {
	// TelemetryWarn formats message using the default formats for its operands
	// , emits log telemetry, and writes to log with level Warn.
	TelemetryWarn(v ...interface{}) error

	// TelemetryWarnf formats message according to format specifier, emits log telemetry,
	// and writes to log with level Warn.
	TelemetryWarnf(format string, params ...interface{}) error

	// TelemetryError formats message using the default formats for its operands
	// , emits log telemetry, and writes to log with level Error.
	TelemetryError(v ...interface{}) error

	// TelemetryErrorf formats message according to format specifier, emits log telemetry,
	// and writes to log with level Error.
	TelemetryErrorf(format string, params ...interface{}) error

	// TelemetryCritical formats message using the default formats for its operands
	// , emits log telemetry, and writes to log with level Critical.
	TelemetryCritical(v ...interface{}) error

	// TelemetryCriticalf formats message according to format specifier, emits log telemetry,
	// and writes to log with level Critical.
	TelemetryCriticalf(format string, params ...interface{}) error
}
