go-android-log

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2025 License: MIT

README

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)

License

MIT

Directories

Path Synopsis
Package androidlog provides Go bindings for Android's native logging system
Package androidlog provides Go bindings for Android's native logging system

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL