[−][src]Crate loa
Modules
assembly | |
bytecode | |
fmt | Utilities for formatting and printing |
format | |
generation | |
optimization | |
semantics | |
server | |
syntax | |
vm |
Macros
debug | Logs a message at the debug level. |
error | Logs a message at the error level. |
info | Logs a message at the info level. |
log | The standard logging macro. |
log_enabled | Determines if a message logged at the specified level in that module will be logged. |
trace | Logs a message at the trace level. |
warn | Logs a message at the warn level. |
Structs
Arc | A thread-safe reference-counting pointer. 'Arc' stands for 'Atomically Reference Counted'. |
BasicReporter | |
BigInt | A big signed integer type. |
BigUint | A big unsigned integer type. |
Cache | |
HashMap | A hash map implemented with quadratic probing and SIMD lookup. |
HashSet | A hash set implemented as a |
Id | |
Iter | Immutable slice iterator |
Location | |
Metadata | Metadata about a log message. |
MetadataBuilder | Builder for |
Mutex | A mutual exclusion primitive useful for protecting shared data |
ParseLevelError | The type returned by |
Record | The "payload" of a log message. |
RecordBuilder | Builder for |
SetLoggerError | The type returned by |
Source | |
Span | |
Stack |
Enums
BitSize | |
Cow | A clone-on-write smart pointer. |
Diagnostic | |
DiagnosticLevel | |
InheritanceViolation | |
Level | An enum representing the available verbosity levels of the logger. |
LevelFilter | An enum representing the available verbosity level filters of the logger. |
SourceKind | |
URI |
Constants
STATIC_MAX_LEVEL | The statically resolved maximum log level. |
Traits
Any | A trait to emulate dynamic typing. |
Error |
|
Future | A future represents an asynchronous computation. |
Log | A trait encapsulating the operations required of a logger. |
Pow | Binary operator for raising a value to a power. |
Reporter |
Functions
logger | Returns a reference to the logger. |
max_level | Returns the current maximum log level. |
override_sdk_dir | |
sdk_dir | |
sdk_glob | |
sdk_path | |
set_logger | Sets the global logger to a |
set_logger_racy⚠ | A thread-unsafe version of |
set_max_level | Sets the global maximum log level. |
Type Definitions
BigFraction | Fraction consisting from two |