log

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package log provides Go bindings for Android logging.

Index

Constants

View Source
const (
	LOG_ID_MIN      log_id_t = 0
	LOG_ID_MAIN     log_id_t = 0
	LOG_ID_RADIO    log_id_t = 1
	LOG_ID_EVENTS   log_id_t = 2
	LOG_ID_SYSTEM   log_id_t = 3
	LOG_ID_CRASH    log_id_t = 4
	LOG_ID_STATS    log_id_t = 5
	LOG_ID_SECURITY log_id_t = 6
	LOG_ID_KERNEL   log_id_t = 7
	LOG_ID_MAX      log_id_t = 8
	LOG_ID_DEFAULT  log_id_t = 2147483647
)

Variables

This section is empty.

Functions

func Write

func Write(prio int32, tag string, text string) int32

Write calls the underlying C function.

Types

type Android_aborter_function

type Android_aborter_function = capi.Android_aborter_function

type Android_log_message

type Android_log_message = capi.Android_log_message

type Android_logger_function

type Android_logger_function = capi.Android_logger_function

type Priority

type Priority int32
const (
	Unknown Priority = 0
	Default Priority = 1
	Verbose Priority = 2
	Debug   Priority = 3
	Info    Priority = 4
	Warn    Priority = 5
	Error   Priority = 6
	Fatal   Priority = 7
	Silent  Priority = 8
)

func (Priority) String

func (v Priority) String() string

Jump to

Keyboard shortcuts

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