Struct fuchsia_syslog::Logger[][src]

pub struct Logger { /* fields omitted */ }
Expand description

C API logger wrapper which provides wrapper for C APIs.

Implementations

Returns true if inner logger is not null and log level is enabled.

Returns whether or not the underlying logger is valid

Whether the log socket is valid

Wrapper around C API fx_logger_log. Consider using fx_log_* macros instead of calling this function directly. Calling this function directly is almost certainly not what you want to do unless you are writing a custom logging integration.

Set logger severity. Returns false if internal logger is null.

Trait Implementations

Executes the destructor for this type. Read more

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

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

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.