About Lesson
Actors
- Application Developer
- System Administrator
- External System (optional)
- Logger System (internal)
Use Cases
For Application Developer:
- Configure Logger
- Log Message (Info, Debug, Warn, Error, Fatal)
- Change Log Level (at runtime)
- Set Output Format
For System Administrator:
- Define Log Storage Path
- Monitor Log Files
- Rotate Log Files
- Enable/Disable Logging
For External System:
- Collect Log Data
- Analyze Logs
Logger System (internal responsibilities):
- Filter Log Messages by Level
- Format Log Messages
- Route Logs to Destinations (File, Console, Remote)
How to Explain in Class
- Introduce the external actors and what they do in real-world use.
- Show how the Logger System enables these actions through individual use cases.
- Emphasize that developers trigger most actions, while admins configure and monitor, and external systems consume logs.