Comments (7)
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.
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.
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.
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.
Fixed here: 5f85425
from resin.
Sorry for closing issue without fully addressing the issue (of not using a MS standardized logging interface).
from resin.
Fixed here: b36c01e
from resin.
Related Issues (20)
- Implement a custom storage engine to test the contracts/abstractions HOT 1
- Split IScoringScheme in two: factory and scheme
- Write char constants as either character-literals or integer-literals cast to char HOT 1
- Implement TruncateOperation HOT 1
- Refactor IDocumentStoreWriter into factory and session
- Re-balance search tree upon insert HOT 1
- Implement collation
- store datetime as utc HOT 1
- Parse query into doubly-chained linked list HOT 2
- Increase phrase search relevance by storing term positions HOT 1
- Benchmarks HOT 5
- GetTicks/GetNextChronologicalFileId question HOT 5
- Version for .NETFramework,Version=v4.5.2
- status? HOT 1
- Search results aren't good HOT 5
- Linux version in C/C++ HOT 10
- Demo page (didyougogo.com) fails to load HOT 2
- Application startup exception: System.PlatformNotSupportedException: The named version of this synchronization primitive is not supported on this platform. HOT 9
- Vector Space Search Guide not accessible HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resin.