Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
nobug-init.hpp File Reference

Trigger the basic NoBug initialisation by placing a static variable. More...

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>

Namespaces

namespace  lumiera
 Lumiera public interface.
 
namespace  lumiera::anonymous_namespace{nobug-init.hpp}
 

Functions

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