Logger (Model of Extensible Logging Module)
        
Resources|Diagrams|Model Snippets|UML|Class Diagrams|Sequence Diagrams|        
        14 February 2020 |
        Dusan Rodina - softwareideas.net
    
    
         Proper logs are essential for long-term system administration. A good logging module should be extensible, configurable and easy to use. This example model may be a good starting point for your solution. It allows you to dynamically change the outputs for the logs and log to multiple targets at once.
    
    Diagrams
Module Structure
- Logger
- ILogWriter (interface)
- LogLevel (enumeration)
- ExceptionLogger
- Exception
- TextFileLogWriter
- XmlFileWriter
- DatabaseLogWriter
 
Logger (UML Class Diagram)
Data Model
- Log
- LogItem
 
Log Data Model (UML Class Diagram)
Usage
 
Logger Behavior Model (UML Sequence Diagram)
 
                
New Comment