mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-14 07:59:26 +01:00
14 lines
366 B
Go
14 lines
366 B
Go
package main
|
|
|
|
import l4g "code.google.com/p/log4go"
|
|
|
|
func main() {
|
|
// Load the configuration (isn't this easy?)
|
|
l4g.LoadConfiguration("example.xml")
|
|
|
|
// And now we're ready!
|
|
l4g.Finest("This will only go to those of you really cool UDP kids! If you change enabled=true.")
|
|
l4g.Debug("Oh no! %d + %d = %d!", 2, 2, 2+2)
|
|
l4g.Info("About that time, eh chaps?")
|
|
}
|