Actors

  1. Application Developer
  2. System Administrator
  3. External System (optional)
  4. 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.