Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging System #18

Open
matejicko opened this issue Oct 25, 2024 · 1 comment
Open

Logging System #18

matejicko opened this issue Oct 25, 2024 · 1 comment
Labels
proposal Proposal of some functionality

Comments

@matejicko
Copy link
Collaborator

matejicko commented Oct 25, 2024

To make this application as much customizable as possible, there will be one generally-accessible instance of ILogger (from Microsoft.Extensions.Logging), which can be dynamically switched during run-time. By default, Serilog instance of their ILogger will be used. Since, their logger class doesn't implement Microsoft's interface ILogger, there has to be adapter SerilogLoggerAdapter.

Logging levels works as follows:

  • Error - if the exception was thrown, user will know about that via error logs.
  • Warning - user is warned about potential threats and/or his bad practices.
  • Information - user is informed about execution of logical units - e.g. start of whole process, execution of test cases...
  • Debug - information about pipelines and their steps executions are captured on this level.
  • Trace/Verbose - the most detailed logging. Each small process or even sub-process is documented here.

User will be normally informed about Error, Warning and Information levels, if not specified differently.

@matejicko matejicko added the proposal Proposal of some functionality label Jan 8, 2025
@matejicko
Copy link
Collaborator Author

Add test case name for logs. Don't put it there as a part of message, but as some category or something like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal Proposal of some functionality
Projects
None yet
Development

No branches or pull requests

1 participant