Comments (3)
The import statement actually uses the package name by default, not the last
name in the directory path. So, if you don't rename it l4g, it's log4go. For
the purposes of code brevity, I like to use l4g, but I submit that log4go
should still be the package name.
Original comment by [email protected]
on 4 Jul 2010 at 4:14
- Added labels: Priority-Low, Type-Other
- Removed labels: Priority-Medium, Type-Defect
from log4go.
I've been confused with that. Anyway if it's used the same name for both
directory and package (like in Go core) then people will know how is called the
package
import "log4go.googlecode.com/svn/log4go"
Original comment by [email protected]
on 4 Jul 2010 at 4:59
from log4go.
The argument that I have heard is that the subdomain matching the package name
is just as verbose, and gives you the option to have /svn/stable, /svn/trunk,
etc with little effort.
Original comment by [email protected]
on 5 Jul 2010 at 10:42
from log4go.
Related Issues (18)
- FormatLogWriter should be merged into ConsoleLogWriter
- Patch for latest Go release HOT 1
- Patch for /xmllog.go HOT 1
- Tip doesn't build against stable r57.1
- License, but All Rights reserved?
- Patch to update to release.r59
- LogWriter synchronization problem HOT 1
- diff for test fail, syscall.Dup2() has slightly different signature
- [PATCH]
- l4g won't flush buffer? HOT 8
- Make "level" type public HOT 4
- the problem when process exit
- Log file rotation not happening HOT 1
- Fix for a data race found with Go 1.1's new race detector
- udp SocketLogger hangs unrecoverably on socket.Write() error
- Better formatting HOT 1
- Github migration
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 log4go.