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

Addition Of Logging System #19

Merged
merged 5 commits into from
Oct 28, 2024
Merged

Addition Of Logging System #19

merged 5 commits into from
Oct 28, 2024

Conversation

matejicko
Copy link
Collaborator

@matejicko matejicko commented Oct 25, 2024

This PR implements initial logging system. In ApplicationContext there is public instance of Microsoft's ILogger which will be accessible during whole pipeline run in each step. If another classes need to use logger, it's generic implementation can be automatically injected from DI container.

More information about logging system within this project here.

@matejicko matejicko merged commit 01ae62c into master Oct 28, 2024
2 checks passed
var (script, compilation) = _compiler.CompileScript(_script.ProcessedContent);
_script.ScriptObject = script;
_script.Compilation = compilation;

context.Logger.LogTrace("Compilation of the script on path '{ScriptPath}' finished.", _script.Script.File.RelativePath);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nerob to teraz. A niekedy na neskôr by som dal úlohu, že tieto logy by obsahovali aj čas trvania tej akcie.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Myslím tým aj tie ďalšie ktoré sú typu Start-Stop.

@matejicko matejicko mentioned this pull request Nov 13, 2024
@matejicko matejicko added the unresolved comments PR with unresolved comments from reviewer(s). Label should be removed after resolution. label Nov 21, 2024
@matejicko matejicko mentioned this pull request Dec 19, 2024
@matejicko matejicko deleted the loggingSystem branch March 12, 2025 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unresolved comments PR with unresolved comments from reviewer(s). Label should be removed after resolution.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants