hilog-binding

Crates.iohilog-binding
lib.rshilog-binding
version0.0.4
sourcesrc
created_at2024-01-11 03:40:41.231884
updated_at2024-03-07 06:44:35.143954
descriptionhilog binding for rust
homepage
repository
max_upload_size
id1095824
size4,394
Richer (richerfu)

documentation

README

hilog_binding

Install

cargo add hilog_binding

Usage

use hilog_binding::hilog_debug;
use napi_derive_ohos::napi;

#[napi]
pub fn add(left: u32, right: u32) -> u32 {
    hilog_debug!("hello world");
    hilog_debug!(
        "test",
        LogOptions {
          tag: Some("testTag"),
          domain: None
      }
    );
    left + right
}
Commit count: 0

cargo fmt