/* * Copyright (c) 2020, the SerenityOS developers. * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include extern bool g_report_to_debug; template void reportln(const StringView& format, Ts... args) { if (g_report_to_debug) AK::vdbgln(format, AK::VariadicFormatParams { args... }); else warnln(format, args...); }