Crate clg

Source
Expand description

A logger specifically designed for wasm32-unknown-unknown.

Go to the git repository for more information.

Modules§

console
web console
log_level
Contains the LogLevel enum and its methods.
macros
Allows macros to be called separately to output to the web console, even if the logger is not initialized.

Macros§

c_err
Outputs error messages to web console.
c_info
Outputs information to web console.
c_trace
Outputs trace messages to web console.
c_warn
Outputs warning messages to web console.
clg
Outputs messages to web console.

Structs§

ConsoleLogger
A logger used to output logs to the web console.

Constants§

SUPPORTED

Functions§

get_offset_time
Gets the time of the current timezone offset. If the acquisition fails, fallback to UTC time.