Logging Frameworks:?
- As mentioned, logging systems often use the Factory Method to allow
different log outputs. For example, a logging framework can provide loggers
that write to the console, files, databases, or cloud services, with the user
choosing the appropriate logger type via a factory.