Logging levels defined

4 logging levels defined
info
warning
error
critical