pub struct DioxusLogger { /* private fields */ }
Expand description

The primary logging struct that contains all runtime configuration.

Implementations

Create a new DioxusLogger struct to configure and build.

Builds and initializes the logger with log

Allows you to define a custom format.

The available options are {LEVEL}, {PATH}, {ARGS} and {TIMESTAMP}

Providing the format of [{LEVEL}] {PATH} - {ARGS}] will return something like [INFO] dioxus_testing - this is my log message

Trait Implementations

Determines if a log message with the specified metadata would be logged. Read more
Logs the Record. Read more
Flushes any buffered records.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.