
Logging in .NET
Quiz
•
Architecture
•
Professional Development
•
Practice Problem
•
Hard
Khiem DN
Used 4+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Benefit of structured logging?
Log data can be query
Faster logging
Less code
Easy to debug
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the standard logging library in .NET?
Microsoft.Extension.Logging
System.Extension.Logging
System.Logging
Microsoft.Logging
3.
MULTIPLE SELECT QUESTION
20 sec • 2 pts
What can Serilog be used in a .NET application?
Log provider for MEL
A Logging framework
Library to store data to File
A Frontend UI module
4.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of an enricher in Serilog?
Updating properties from logevent
Removing properties from logevent
Adding properties to logevent
Deleting properties from logevent
5.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
What is the purpose of sinks?
Nothing
Enrich logevent with new properties
Writing log events to storage in various format
Filter logevent before writing to storage
6.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
When do you want to config a sublogger in Serilog?
WriteTo.Logger()
Log properties sent to another sinks should differ
When you want to write to database
When you want to write to a custom sink
You should not config sublogger
7.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
When can LogEvent from Microsoft namespace get logged to Console?
level == Information
level >= Information
level >= Warning
level > Warning
8.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
.Filter.ByExcluding(le => Matching.FromSource("System")(le) && le.Level <= LogEventLevel.Information)
Can logevent with SourceContext = 'System.*' get logged with that filter?
Always
Never
Only when level > Information
Only when level <= Information
Similar Resources on Wayground
10 questions
PLANNING - Site
Quiz
•
Professional Development
11 questions
Sound Properties & Behaviour
Quiz
•
University - Professi...
10 questions
LARO 21: Synergy - Theory of Architecture
Quiz
•
Professional Development
10 questions
chapter 7 strategy formulation: corporate strategy
Quiz
•
1st Grade - Professio...
10 questions
Elevations
Quiz
•
11th Grade - Professi...
10 questions
Event Driven Architecture
Quiz
•
Professional Development
10 questions
The Hunger Games Quiz
Quiz
•
Professional Development
10 questions
Battle of THE south triangles
Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
