Enhance Loguru Logging: Add Elasticsearch Sink and Contextual Log Binding
Including contextual information such as hostname, relative file path, module, function, and line number in each log entry. Providing a get_logger helper to bind contextual data to each logger instance. Ensuring logs are written both to stdout and a rotating file (app.log). These changes enable richer, more searchable logs and centralized log management via Elasticsearch.
The above mentioned changes are changed due to requirement required by the task assigned by James Harkin https://git.ichec.ie/platform-engineering/planning/-/issues/54.