Lumiera  0.pre.03
»edit your freedom«
nobug-init.hpp File Reference

Go to the source code of this file.

Description

Trigger the basic NoBug initialisation by placing a static variable.

Any facility which uses NoBug (especially logging) already within the static initialisation phase of the application, should do the include via this header, which additionally installs a Lifecycle callback to be run as early as possible.

See also
logging.h

Definition in file nobug-init.hpp.

#include "include/lifecycle.h"
#include <nobug.h>

Functions

void initialise_NoBug ()
 
LifecycleHook trigger_init_ (ON_BASIC_INIT, &initialise_NoBug)
 

Namespaces

 lumiera
 Lumiera public interface.