ubiquity-os / ubiquity-os-logger

0 stars 6 forks source link

Ensure Metadata is Properly Passed to LogReturn in Logging Class #48

Closed imabutahersiddik closed 1 month ago

imabutahersiddik commented 1 month ago

This commit addresses an issue in the logging class where the metadata parameter was not consistently passed to the LogReturn instance within the _log method.

Resolves #46

Keyrxng commented 1 month ago

@imabutahersiddik Hello bud, this feature should fill the revision property of the Metadata object and should pull it from cloudflare as mentioned in the spec. For actions it can be pulled easily from the most up to date sha in relation to what branch the action ran on

imabutahersiddik commented 1 month ago

Solved: Metadata is Properly Passed to LogReturn in Logging

Changes Made: Added a new trace log level in logs.ts, implemented the corresponding trace method in PrettyLogs, and replaced the trace symbol with "🔍".

imabutahersiddik commented 1 month ago

Removed Trace.