Comments (3)
Hi Tamás,
Will merge your pull requests when i have time later today.
LDFLAGS change needs some work on my side for windows.
I hear you about the logging and forcing on the flags. I'm not attached to
glog. I was hoping to have zero external library dependencies. I'll have a
close look at log15. Looks like a solid package. I would like to test it a
bit. I think there is some value in using a package backed by Google. This
gets into 3rd party package dilemma where there isn't necessarily a solid
standard in Go standard library and others will have a favorite logging
packages, possibly with more features. What do you think of having
pluggable logging mechanism so anyone can pick and choose their favorite
logging?
On Tue, May 19, 2015 at 1:06 PM, Tamás Gulácsi [email protected]
wrote:
I do love glog, but hate its flag usage, which is hardly avoidable.
But why should my main program
a) manage the creation of flags by importing "ora",
b) forced to use glog, if it'd use some other logging package?I like gopkg.in/inconshreveable/log15.v2 as it is a well mannered
package: for libraries, I can SetHandler(log15.DiscardHandler()), and in
tests/main application I can set for other destinations, if wanted.But I don't want to force anything, especially if you know some trick to
disable glog's automatic flag registering.—
Reply to this email directly or view it on GitHub
#6.
from ora.
I think that glog is fantastic for applications (automatic file handling,
rotation...), but a little bit obtrusive for libs.
As I see you use glog.Info 26 times, glog.Error 6 times, and nothing else
(glog.V(n)...), so don't need more than an interface with Infof, Infoln,
Errorf and Errorln methods, and a glog-based implementation (or else). Then
anybody can replace the Log variable with her own Logger implementation.
2015-05-19 22:38 GMT+02:00 ranaian [email protected]:
Hi Tamás,
Will merge your pull requests when i have time later today.
LDFLAGS change needs some work on my side for windows.
I hear you about the logging and forcing on the flags. I'm not attached to
glog. I was hoping to have zero external library dependencies. I'll have a
close look at log15. Looks like a solid package. I would like to test it a
bit. I think there is some value in using a package backed by Google. This
gets into 3rd party package dilemma where there isn't necessarily a solid
standard in Go standard library and others will have a favorite logging
packages, possibly with more features. What do you think of having
pluggable logging mechanism so anyone can pick and choose their favorite
logging?On Tue, May 19, 2015 at 1:06 PM, Tamás Gulácsi [email protected]
wrote:I do love glog, but hate its flag usage, which is hardly avoidable.
But why should my main program
a) manage the creation of flags by importing "ora",
b) forced to use glog, if it'd use some other logging package?I like gopkg.in/inconshreveable/log15.v2 as it is a well mannered
package: for libraries, I can SetHandler(log15.DiscardHandler()), and in
tests/main application I can set for other destinations, if wanted.But I don't want to force anything, especially if you know some trick to
disable glog's automatic flag registering.—
Reply to this email directly or view it on GitHub
#6.—
Reply to this email directly or view it on GitHub
#6 (comment).
from ora.
I've implemented a "minimal viable product" as 49d2e08
from ora.
Related Issues (20)
- How to get the result of a function HOT 5
- Package 'oci8' has no Name: field HOT 4
- LastInsertId is returning 0, when using database/sql package with oracle driver
- exemple
- Getting error in the.Next() method HOT 5
- sql db.Exec fail to insert "" to blob,runtime error: index out of range HOT 2
- Dependencies HOT 3
- When run the program get That can not find bind point of OCIBindByPos2 in the dynamic link library HOT 8
- My code makes de select and prints <nil> for each row HOT 5
- Build in Bitbucket Pipelines HOT 2
- Stmt.exeC Env.ociError ORA-03135: connection lost contact\nProcess ID: 61366\nSession ID: 2867 Serial number: 6006 HOT 3
- Error during go get HOT 6
- Cannot build with instaclient 11.1 HOT 3
- Data Cartridge Development support HOT 3
- Support AQ HOT 1
- time.Time shows <nil> even if the value is present in the DB HOT 7
- remove lock on break HOT 1
- I am geting BLOB fields with extra content HOT 1
- v4.1.15 Data chaos bug HOT 1
- MAC OS ARM64
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 ora.