Skip to content

Use Microsoft.Extensions.Logging logger#36

Merged
iamtorsten merged 3 commits intomainfrom
use-ms-logger
Aug 10, 2024
Merged

Use Microsoft.Extensions.Logging logger#36
iamtorsten merged 3 commits intomainfrom
use-ms-logger

Conversation

@leo-schick
Copy link
Copy Markdown
Member

@leo-schick leo-schick commented Aug 10, 2024

use ILoggerFactory instead of static LOG, TRACE, DEBUG class from libfintx.Logger library

Additional changes:

  • add exception FinTsVersionNotSupportedException`
  • trace user/tan always escaped
  • use a null-logger during testing
  • mark old logging functions as obsolete
  • remove tracing of MT940 files. If required one can just activate the write to file (*.STA) feature and then analyze the files
  • create the default filebased log file with datetime
  • improve XML comments

Note: Multiple parts in the code are marked that on next major release the obsolete functions shall be removed. Those are marked with MAJOR VERSION UPGRADE in comments.

resolves #34

…fintx.Logger library

+ add exceptionFinTsVersionNotSupportedException
+ trace user/tan only in DEBUG mode and always escaped
- mark logging functions as obsolete
- remove tracing of MT940 files (if required one can just activate to write MT940 files (*.STA) and analyze these files)
- create a log file with datetime
- fix formatted trace
@leo-schick leo-schick requested a review from iamtorsten August 10, 2024 10:46
@iamtorsten iamtorsten merged commit 077cd2a into main Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use Microsoft.Extensions.Logging in FinTS

2 participants