// Package logger provides helper functions for creating structured logging fields.
package logger

import "go.uber.org/zap"

// String creates a string field for structured logging.
func String(key, value string) Field {
	return zap.String(key, value)
}

// Int creates an integer field for structured logging.
func Int(key string, value int) Field {
	return zap.Int(key, value)
}

// Int64 creates an int64 field for structured logging.
func Int64(key string, value int64) Field {
	return zap.Int64(key, value)
}

// Bool creates a boolean field for structured logging.
func Bool(key string, value bool) Field {
	return zap.Bool(key, value)
}

// Error creates an error field for structured logging.
func Error(err error) Field {
	return zap.Error(err)
}

// Any creates a field with any value type.
func Any(key string, value any) Field {
	return zap.Any(key, value)
}
