Code Monkey home page Code Monkey logo

advswe_assi7's Introduction

in part 2 the answer of last two Requirements in files or :

(par2-req3): part 1: Briefly, I expected errors to occur in the release and send functions,and I created a special Exception in every error that could happen, and I made a handling for each of these Exceptions, and then I used Try-Catch in the Demo Class to use each of the Exceptions that I made when There is a reason to summon it.

part 2: I put each logger in a suitable place for it, for example, I put the Error Logger in the catch because when this catch is called, there will be an error that has occurred, the warning logger when a specific protocol is deleted to alert the user that there is a deletion, the info logger when a comparison process is being searched for example, and the debug logger when Define protocols.

(par2-req4): why the logger uses a singleton design pattern ?

Logging is a fundamental part of applications Logs can inform us of many useful things such as; errors, warnings, stack traces, order of operations, events, etc ,with this information , we are able to find, and therefore resolve bugs more quickly, and ensure our applications are running correctly and logs can be stored to many storage devices, such as slack channels and server logs, making them more accessible to us.

advswe_assi7's People

Contributors

yaseen-asaliya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.