Skip to content

dreamensys/basic-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Logger Sample

This logger implements several ways to write a log. (Console, File, Database)

How to run to the application?

  1. From the Client Console Application set the value of DestinationType over the App.config one of the following: Destinations
  • CONSOLE: it will log a new message on WIndows terminal.
  • FILE: it will write over a file with a set path (App.config)
  • DATABASE: it will write over a table from a DataBase.

VERBOSITY LEVELS

  • Message
  • Warning
  • Error
  1. Run the Console Application and Enjoy.

Technical Overview

  • Strategy Pattern
  • Abstract Factory Pattern
  • Inversion of Control
  • Singleton Pattern
  • NUnit
  • Dependency Injection(Unity)
  • Repository Pattern
  • Domain Driven Desing

TODO

  • Add a web service consuming.
  • Inject dependencies loaded from a Unity.conf file.
  • Pass destinationType from constructor.

Author

Angel Soto dreamensys@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages