Skip to content
Extraits de code Groupes Projets

Add clean logs support + dependent MR

Fusionnées Kubat a demandé de fusionner log-macros vers master
4 files
+ 75
18
Comparer les modifications
  • Côte à côte
  • En ligne

Fichiers

  • a653603f
    We destroy the log console before the final flush, take that into
    account => disable handle message for the ConsoleLogSinkDispatcher if
    the corresponding LogConsole was destroyed.
    
    This is a quick and dirty solution, but I don't know any other way for
    now!
+ 0
7
@@ -197,13 +197,6 @@ public:
return dispatch;
}
template <Derived<LogSinkDispatcher> DispatcherType, typename... Args>
DispatcherType *newUnmanagedDispatcher(Args &&...args) noexcept
{
DispatcherType *dispatch = new DispatcherType(std::forward<Args>(args)...);
return dispatch;
}
std::shared_ptr<Logger> newLogger(const StringType auto &category) noexcept
{
std::shared_ptr<Logger> logger = std::make_shared<Logger>(this, category);
Chargement en cours