pub struct SimpleTracer;Expand description
Simple tracing system for pipeline debugging
Implementations§
Source§impl SimpleTracer
impl SimpleTracer
Sourcepub fn is_enabled() -> bool
pub fn is_enabled() -> bool
Check if tracing is enabled
Sourcepub fn trace_level() -> TraceLevel
pub fn trace_level() -> TraceLevel
Get trace level
Sourcepub fn template_start(template_path: &Path)
pub fn template_start(template_path: &Path)
Log template processing start
Sourcepub fn template_complete(
template_path: &Path,
output_path: &Path,
content_size: usize,
)
pub fn template_complete( template_path: &Path, output_path: &Path, content_size: usize, )
Log template processing completion
Sourcepub fn frontmatter_processed(frontmatter: &Frontmatter)
pub fn frontmatter_processed(frontmatter: &Frontmatter)
Log frontmatter processing
Sourcepub fn context_blessed(vars_count: usize)
pub fn context_blessed(vars_count: usize)
Log context blessing
Sourcepub fn rdf_loading(files: &[String], inline_blocks: usize, triples: usize)
pub fn rdf_loading(files: &[String], inline_blocks: usize, triples: usize)
Log RDF loading
Sourcepub fn sparql_query(query: &str, result_count: Option<usize>)
pub fn sparql_query(query: &str, result_count: Option<usize>)
Log SPARQL query
Sourcepub fn file_injection(target_path: &Path, mode: &str, success: bool)
pub fn file_injection(target_path: &Path, mode: &str, success: bool)
Log file injection
Sourcepub fn shell_hook(command: &str, timing: &str, exit_code: i32)
pub fn shell_hook(command: &str, timing: &str, exit_code: i32)
Log shell hook
Sourcepub fn performance(operation: &str, duration_ms: u64)
pub fn performance(operation: &str, duration_ms: u64)
Log performance metric
Sourcepub fn backup_created(original_path: &Path, backup_path: &Path)
pub fn backup_created(original_path: &Path, backup_path: &Path)
Log backup creation
Sourcepub fn skip_condition(condition: &str, reason: &str)
pub fn skip_condition(condition: &str, reason: &str)
Log skip condition
Auto Trait Implementations§
impl Freeze for SimpleTracer
impl RefUnwindSafe for SimpleTracer
impl Send for SimpleTracer
impl Sync for SimpleTracer
impl Unpin for SimpleTracer
impl UnwindSafe for SimpleTracer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more