Skip to content

Conversation

@lento
Copy link
Contributor

@lento lento commented Mar 5, 2013

conf e log esportano dei tipi che possono essere riutilizzati in altri pacchetti nei casi piu' complessi, e allo stesso tempo mantengono un oggetto di default per i casi piu' semplici, sull'esempio del DefaultServerMux di net/http.

Conf e' una versione molto semplificata di goconf, e non supporta sezioni, ereditarieta', ecc, ma e' sincronizzato con un mutex e puo' essere usato concorrentemente.

lento added 5 commits March 2, 2013 21:27
Users of the package can now create their own loggers and
extend them.
We don't really need this, applications using the package can
easily create their own flag.
- a Logger can now write to any io.Writer.
- the error return by SetLevel indicates the valued that caused it.
Package conf contains a simple loader for configuration files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant