Skip to content

Securepoint/go-android-log

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

go-android-log

Native Android logging bindings for Go apps. Recommended to use with gomobile.

Install

go get github.com/Securepoint/go-android-log

Usage

logger := androidlog.NewLogger("MyPackage")
logger.Info("Application started")
logger.Debug("Debug message")
logger.Error("Something went wrong")

Formatted messages

logger.Infof("Application started at %s", time.Now())
logger.Debugf("Debug message: %d", 42)
logger.Errorf("Something went wrong: %v", err)

Documentation

Go Reference

License

MIT

About

Go bindings for Android's native logging system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages