Metall  v0.28
A persistent memory allocator for data-centric analytics

This is an example of how to use Metall's logger.

// Copyright 2023 Lawrence Livermore National Security, LLC and other Metall
// Project Developers. See the top-level COPYRIGHT file for details.
// SPDX-License-Identifier: (Apache-2.0 OR MIT)
int main() {
// Set the log level to , for example, verbose.
// The log level can be changed at any time.
// Enable the program to abort when a critical log message is displayed.
// Do Metall operations
metall::manager manager(metall::create_only, "/tmp/dir");
return 0;
A generalized Metall manager class.
Definition: basic_manager.hpp:40
static void set_log_level(const level_filter lvl) noexcept
Set the minimum logger level to show message.
Definition: logger.hpp:94
static bool abort_on_critical_error() noexcept
Definition: logger.hpp:99
int main()
Definition: jgraph.cpp:24
basic_manager<> manager
Default Metall manager class which is an alias of basic_manager with the default template parameters.
Definition: metall.hpp:34
static const level_filter verbose
Log all messages.
Definition: logger.hpp:78