Code Monkey home page Code Monkey logo

Comments (7)

mxmissile avatar mxmissile commented on May 27, 2024

You can use your own logger with log4net last I checked...

http://www.alteridem.net/2008/01/10/writing-an-appender-for-log4net/

from resin.

bravecobra avatar bravecobra commented on May 27, 2024

Sure, I know that works, but I don't want to drag in an extra logging library, when I already have (another) one fully working.
Packages should not implement/dependent on a concrete logging library, but should log to an abstraction of it and let the actual logging be as a responsibility of the application that uses the package. In other words, freedom of choice!

from resin.

bravecobra avatar bravecobra commented on May 27, 2024

Another alternative might be liblog which is an abstraction especially for 3rd party libraries (https://github.com/damianh/LibLog). Both do basically the same: provide a logging abstraction.

from resin.

kreeben avatar kreeben commented on May 27, 2024

Thank you for taking an interest in the Resin codebase and sorry for waiting a month before answering.

@bravecobra Sure, I'm also allergic to dependencies. I f-ing love log4net though. Didn't realize not all people use it. What would you prefer, between the two alternatives you gave, as a means for a logging abstraction layer?

from resin.

kreeben avatar kreeben commented on May 27, 2024

Fixed here: 5f85425

from resin.

kreeben avatar kreeben commented on May 27, 2024

Sorry for closing issue without fully addressing the issue (of not using a MS standardized logging interface).

from resin.

kreeben avatar kreeben commented on May 27, 2024

Fixed here: b36c01e

from resin.

Related Issues (20)

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.