import { LogLevel } from '../enums'; /** * Log Entry Entity * Represents a log entry in the domain with business logic */ export declare class LogEntryEntity { id: string; message_id: string; log_level: LogLevel; log_message: string; created_at: Date; log_data?: Record; stack_trace?: string; constructor(id: string, message_id: string, log_level: LogLevel, log_message: string, created_at: Date); /** * Creates an INFO level log entry * @param messageId - ID of the message this log belongs to * @param message - Log message * @param data - Optional structured data * @returns LogEntryEntity */ static createInfo(messageId: string, message: string, data?: Record): LogEntryEntity; /** * Creates an ERROR level log entry * @param messageId - ID of the message this log belongs to * @param message - Log message * @param error - Error object * @param data - Optional structured data * @returns LogEntryEntity */ static createError(messageId: string, message: string, error: Error, data?: Record): LogEntryEntity; /** * Creates a WARN level log entry * @param messageId - ID of the message this log belongs to * @param message - Log message * @param data - Optional structured data * @returns LogEntryEntity */ static createWarn(messageId: string, message: string, data?: Record): LogEntryEntity; /** * Creates a DEBUG level log entry * @param messageId - ID of the message this log belongs to * @param message - Log message * @param data - Optional structured data * @returns LogEntryEntity */ static createDebug(messageId: string, message: string, data?: Record): LogEntryEntity; /** * Checks if this is an error log * @returns true if ERROR level, false otherwise */ isError(): boolean; /** * Adds structured data to the log entry * @param data - Data to add * @returns this for method chaining */ withData(data: Record): this; } //# sourceMappingURL=log-entry.entity.d.ts.map