fixed bug in attaching nics to hosts, changed documentation format and generator (buggy but usable)
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
# core/error.h
|
||||
|
||||
## Free functions
|
||||
|
||||
### `std::mutex &error_mutex() noexcept;`
|
||||
### `inline T&& show(std::string_view name, T&& value) noexcept { ... }`
|
||||
### `std::lock_guard<std::mutex> lock(error_mutex());`
|
||||
### `inline T&& eval_and_show(std::string_view expr, T&& value) noexcept { ... }`
|
||||
### `std::lock_guard<std::mutex> lock(error_mutex());`
|
||||
## `dofs::log_error`
|
||||
`void log_error(std::string_view type, std::string_view message, std::optional<uint64_t> timestamp = std::nullopt) noexcept;`
|
||||
## `DOFS_ERROR`
|
||||
`#define DOFS_ERROR(TYPE, MSG)`
|
||||
## `DOFS_ERROR_ST`
|
||||
`#define DOFS_ERROR_ST(TYPE, SRC, MSG, TS)`
|
||||
## `DOFS_ERROR_T`
|
||||
`#define DOFS_ERROR_T(TYPE, MSG, TS)`
|
||||
## `DOFS_EVAL`
|
||||
`#define DOFS_EVAL(EXPR)`
|
||||
## `DOFS_SHOW`
|
||||
`#define DOFS_SHOW(VAR)`
|
||||
## `FORMAT`
|
||||
`#define FORMAT(VAR)`
|
||||
Reference in New Issue
Block a user