Update logging methods to use standard naming conventions

Replaced custom Warn method with LogWarning in Logger class and updated usage in FinalizeDocumentJob. Added LogInformation and LogWarning methods for consistency with common logging practices. LogWarning now accepts an Exception as the first parameter, aligning with standard logging signatures.
This commit is contained in:
2026-02-25 13:38:55 +01:00
parent 5230076d5d
commit 0ca372bf45
2 changed files with 6 additions and 2 deletions

View File

@@ -196,7 +196,7 @@ public class FinalizeDocumentJob(IOptions<WorkerOptions> options, IConfiguration
catch (Exception ex)
{
_logger.Error(ex);
_logger.Warn(ex, "Unhandled exception while working envelope [{0}]", id);
_logger.LogWarning(ex, "Unhandled exception while working envelope [{0}]", id);
}
current += 1;