Skip to content

Integrate entrylog directly into the existing logging mechanism, eliminating the need for separate calls where applicable. #571

@agokarn

Description

@agokarn

Is it possible to have a feature that does this -

log::info!("message")
↓ (macro expansion)
log::log!(Level::Info, "message")
↓ (calls registered logger)
LoggerBackend::log(&record)
↓ (calls td-logger internal)
tdlog!("{} - {}", level, args)
↓ (calls logger backend)
_log_ex(level, mask, format_args)
↓ (writes formatted string)
dbg_write_string(formatted_message)
↓ (writes each byte)
entrylog

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions