Free Electron
core.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __core_h__
8 #define __core_h__
9 
10 #include "fe/platform.h"
11 
12 #ifdef MODULE_core
13 #define FE_CORE_PORT FE_DL_EXPORT
14 #else
15 #define FE_CORE_PORT FE_DL_IMPORT
16 #endif
17 
18 extern FE_DL_PUBLIC FE_CORE_PORT fe::Logger* gs_feLogger;
19 inline fe::Logger* feLogger(void)
20 {
21  if(gs_feLogger==NULL) { gs_feLogger=new fe::Logger(); }
22  FEASSERT(gs_feLogger);
23  return gs_feLogger;
24 }
25 
26 #define FE_STATIC_BAD static
27 
28 #include "core/MemStream.h"
29 #include "core/AutoHashMap.h"
30 #include "core/Castable.h"
31 #include "core/Array.h"
32 #include "core/SystemTicker.h"
33 #include "core/ptr.h"
34 #include "core/Delete.h"
35 #include "core/Safe.h"
36 #include "core/SafeShared.h"
37 #include "core/Tracker.h"
38 #include "core/stream.h"
39 #include "core/Peeker.h"
40 #include "core/Counted.h"
41 #include "core/List.h"
42 #include "core/Type.h"
43 #include "core/TypeMaster.h"
44 #include "core/Instance.h"
45 #include "core/InstanceMap.h"
46 #include "core/assertCore.h"
47 #include "core/Allocator.h"
48 #include "core/PoolAllocator.h"
49 #include "core/StdAllocator.h"
50 #include "core/Protectable.h"
51 #include "core/Handled.h"
52 #include "core/Profiler.h"
53 #include "core/Initialized.h"
54 #include "core/Poison.h"
55 
56 #endif // __core_h__
C++ portion of logging interface implementation.
Definition: debug.h:292