Skip to content

Improve Logging: Migrate to tracing #21

Closed
@SergioBenitez

Description

@SergioBenitez

It's currently not possible to tap into Rocket's logging infrastructure in any easy way. Of course, logging is important, and so it's necessary to have a nice, clean API for Rocket applications to log messages. Libraries like slog and log, the latter currently used by Rocket, provide nice, structured ways to do this. Look into restructuring Rocket's logging to expose their functionalities.

The current alternative is to simply println to log.

Metadata

Metadata

Assignees

Labels

acceptedAn accepted request or suggestionenhancementA minor feature request

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions