Home
last modified time | relevance | path

Searched refs:LogContextError (Results 1 – 2 of 2) sorted by relevance

/system/logging/rust/
Dliblog_event_list.rs39 pub struct LogContextError; struct
42 fn check_liblog_result(status: i32) -> Result<(), LogContextError> { in check_liblog_result() argument
44 Err(LogContextError) in check_liblog_result()
78 pub fn append_i32(self, data: i32) -> Result<Self, LogContextError> { in append_i32() argument
86 pub fn append_i64(self, data: i64) -> Result<Self, LogContextError> { in append_i64() argument
94 pub fn append_f32(self, data: f32) -> Result<Self, LogContextError> { in append_f32() argument
102 pub fn append_str(self, data: &str) -> Result<Self, LogContextError> { in append_str() argument
117 pub fn begin_list(self) -> Result<Self, LogContextError> { in begin_list() argument
125 pub fn end_list(self) -> Result<Self, LogContextError> { in end_list() argument
133 pub fn write(self) -> Result<(), LogContextError> { in write() argument
Dstructured_logger.rs17 use log_event_list::__private_api::{LogContext, LogContextError};
22 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError>; in add_to_context() argument
26 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
32 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
38 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
44 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
50 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
65 fn add_to_context(&self, ctx: LogContext) -> Result<LogContext, LogContextError> { in add_to_context() argument
101 .ok_or(log_event_list::__private_api::LogContextError).map_err(|_|