Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KjellKod/g3log
/ functions
Functions
292 in github.com/KjellKod/g3log
⨍
Functions
292
◇
Types & classes
45
↓ 87 callers
Method
get
test_unit/testing_helpers.cpp:105
↓ 85 callers
Function
verifyContent
test_unit/testing_helpers.cpp:59
↓ 58 callers
Method
append
test_unit/test_concept_sink.cpp:45
↓ 52 callers
Function
logLevel
src/loglevels.cpp:119
↓ 44 callers
Function
to_string
Returns the fractional as a string with padded zeroes 1 ms --> 001 1 us --> 000001 1 ns --> 000000001
src/time.cpp:51
↓ 32 callers
Method
reset
test_unit/testing_helpers.h:85
↓ 28 callers
Function
reset
src/loglevels.cpp:43
↓ 26 callers
Function
addLogLevel
src/loglevels.cpp:34
↓ 26 callers
Function
mockFatalMessage
test_unit/testing_helpers.cpp:29
↓ 24 callers
Method
call
src/g3log/sinkhandle.hpp:39
↓ 24 callers
Function
exceptionIdToText
return the text description of a Windows exception code From MSDN GetExceptionCode http://msdn.microsoft.com/en-us/library/windows/desktop/ms679356(v=
src/stacktrace_windows.cpp:133
↓ 24 callers
Method
logFile
test_unit/testing_helpers.cpp:138
↓ 24 callers
Function
readFileToText
test_unit/testing_helpers.cpp:65
↓ 22 callers
Function
mockFatalWasCalled
test_unit/testing_helpers.cpp:37
↓ 20 callers
Method
addSink
test_unit/test_concept_sink.cpp:86
↓ 19 callers
Method
empty
src/g3log/shared_queue.hpp:69
↓ 19 callers
Method
size
test_unit/testing_helpers.cpp:77
↓ 18 callers
Function
mapCompare
test_unit/test_message.cpp:297
↓ 15 callers
Function
getAll
src/loglevels.cpp:102
↓ 14 callers
Method
save
test_unit/test_concept_sink.cpp:81
↓ 12 callers
Method
clear
test_unit/test_concept_sink.cpp:36
↓ 11 callers
Function
getFractional
src/time.cpp:27
↓ 10 callers
Function
getLogName
test_unit/test_filechange.cpp:57
↓ 10 callers
Function
getStatus
status : {Absent, Enabled, Disabled};
src/loglevels.cpp:107
↓ 10 callers
Function
localtime_formatted
src/time.cpp:145
↓ 10 callers
Function
writeErrorMessage
FYI: Concept of async-signal-safe operations does not exist on windows we stick to perror for lack of better alternatives.
src/crashhandler_windows.cpp:177
↓ 9 callers
Function
initializeLogging
src/g3log.cpp:55
↓ 9 callers
Method
toString
Format the log message according to it's type
src/logmessage.cpp:79
↓ 8 callers
Function
isLoggingInitialized
src/g3log.cpp:110
↓ 8 callers
Method
message
src/g3log/logmessage.hpp:52
↓ 8 callers
Method
send
src/g3log/sink.hpp:64
↓ 8 callers
Function
setFatalPreLoggingHook
* default does nothing, @ref ::g_pre_fatal_hook_that_does_nothing * It will be called just before sending the fatal message, @ref pushFatalmessag
src/g3log.cpp:91
↓ 7 callers
Method
addDefaultLogger
src/logworker.cpp:121
↓ 7 callers
Method
resetAndRetrieveContent
Beware of race between LOG(...) and this function. since LOG(...) passes two queues but the handle::call only passes one queue the handle::call can ha
test_unit/testing_helpers.cpp:155
↓ 6 callers
Method
addLogToClean
test_unit/testing_helpers.cpp:93
↓ 6 callers
Method
get_future
src/g3log/stlpatch_future.hpp:62
↓ 6 callers
Method
size
src/g3log/shared_queue.hpp:74
↓ 6 callers
Function
spawn_task
test_unit/test_cpp_future_concepts.cpp:111
↓ 5 callers
Function
setLogName
test_unit/test_filechange.cpp:49
↓ 5 callers
Function
shutDownLogging
* Shutdown the logging by making the pointer to the background logger to nullptr. The object is not deleted * that is the responsibility of its
src/g3log.cpp:118
↓ 5 callers
Function
wasFatal
src/loglevels.cpp:16
↓ 5 callers
Function
writeTextToFile
test_performance/performance.h:52
↓ 4 callers
Method
removeSink
src/g3log/logworker.hpp:101
↓ 4 callers
Function
setHighest
src/loglevels.cpp:50
↓ 4 callers
Function
spawn_task
src/g3log/future.hpp:43
↓ 4 callers
Method
timestamp
src/logmessage.cpp:110
↓ 3 callers
Function
clearMockFatal
test_unit/testing_helpers.cpp:49
↓ 3 callers
Function
countDestroyedFlags
test_unit/test_sink.cpp:97
↓ 3 callers
Function
countTotalMessages
test_unit/test_sink.cpp:115
↓ 3 callers
Function
disable
src/loglevels.cpp:70
↓ 3 callers
Function
disableAll
src/loglevels.cpp:78
↓ 3 callers
Method
level
src/g3log/logmessage.hpp:44
↓ 3 callers
Function
overrideSetupSignals
This will override the default signal handler setup and instead install a custom set of signals to handle
src/crashhandler_unix.cpp:311
↓ 3 callers
Method
removeAllSinks
This will clear/remove all the sinks. If a sink shared_ptr was retrieved via the sink handle then the sink will be removed internally but will live on
src/g3log/logworker.hpp:125
↓ 3 callers
Function
restoreFatalHandlingToDefault
Restore back to default fatal event handling
src/crashhandler_windows.cpp:183
↓ 3 callers
Function
restoreSignalHandler
src/crashhandler_unix.cpp:292
↓ 3 callers
Function
set
src/loglevels.cpp:63
↓ 3 callers
Function
setLogNameAndAddCount
test_unit/test_filechange.cpp:30
↓ 3 callers
Function
shutDownLoggingForActiveOnly
Same as the Shutdown above but called by the destructor of the LogWorker, thus ensuring that no further * LOG(...) calls can happen to a non-
src/g3log.cpp:129
↓ 3 callers
Function
writeErrorMessage
This function is intended to be async-signal-safe. It writes an error message to stderr using the write system call, which is listed as async-signal-s
src/crashhandler_unix.cpp:251
↓ 2 callers
Function
AddManySinks
test_unit/test_sink.cpp:167
↓ 2 callers
Function
Death_x10000
example/main_fatal_choice.cpp:120
↓ 2 callers
Function
enable
src/loglevels.cpp:74
↓ 2 callers
Function
enableAll
src/loglevels.cpp:84
↓ 2 callers
Function
exceptionHandling
Unhandled exception catching
src/crashhandler_windows.cpp:63
↓ 2 callers
Function
exitReasonName
string representation of signal ID or Windows exception id
src/crashhandler_windows.cpp:127
↓ 2 callers
Function
exitReasonName
string representation of signal ID
src/crashhandler_unix.cpp:193
↓ 2 callers
Function
exitWithDefaultSignalHandler
Triggered by g3log->g3LogWorker after receiving a FATAL trigger which is LOG(FATAL), CHECK(false) or a fatal signal our signalhandler caught. --- If L
src/crashhandler_unix.cpp:222
↓ 2 callers
Method
file
src/g3log/logmessage.hpp:35
↓ 2 callers
Method
function
src/g3log/logmessage.hpp:41
↓ 2 callers
Function
installCrashHandler
installs the signal handling for whatever signal set that is currently active If you want to setup your own signal handling then You should instead ca
src/crashhandler_unix.cpp:325
↓ 2 callers
Function
installCustomSIGTERM
test_unit/test_fatal.cpp:75
↓ 2 callers
Method
line
src/g3log/logmessage.hpp:38
↓ 2 callers
Function
pushMessageToLogger
* save the message to the logger. In case of called before the logger is instantiated * the first message will be saved. Any following sub
src/g3log.cpp:193
↓ 2 callers
Method
reason
src/logmessage.cpp:189
↓ 2 callers
Method
release
src/g3log/moveoncopy.hpp:46
↓ 2 callers
Function
removeFile
test_unit/testing_helpers.cpp:55
↓ 2 callers
Method
reset
src/g3log/stlpatch_future.hpp:71
↓ 2 callers
Method
save
src/logworker.cpp:101
↓ 2 callers
Function
setFatalExitHandler
REPLACE fatalCallToLogger for fatalCallForUnitTest * This function switches the function pointer so that only * 'unitTest' mock-fatal calls ar
src/g3log.cpp:104
↓ 2 callers
Function
shouldBlockForFatalHandling
src/crashhandler_unix.cpp:130
↓ 2 callers
Function
stackdump
Generate stackdump. Or in case a stackdump was pre-generated and non-empty just use that one. i.e. the latter case is only for Windows and test purp
src/crashhandler_windows.cpp:118
↓ 2 callers
Function
stackdump
Generate stackdump. Or in case a stackdump was pre-generated and non-empty just use that one i.e. the latter case is only for Windows and test purpose
src/crashhandler_unix.cpp:136
↓ 2 callers
Method
swap
src/g3log/stlpatch_future.hpp:49
↓ 2 callers
Method
valid
src/g3log/stlpatch_future.hpp:58
↓ 2 callers
Method
value
src/g3log/atomicbool.hpp:43
↓ 1 callers
Function
AskForAsyncDeath
example/main_fatal_choice.cpp:235
↓ 1 callers
Function
CallActualExitFunction
example/main_fatal_choice.cpp:161
↓ 1 callers
Function
CallExitFunction
example/main_fatal_choice.cpp:165
↓ 1 callers
Function
ChoiceOfFatalExit
example/main_fatal_choice.cpp:251
↓ 1 callers
Function
ChooseFatalExit
example/main_fatal_choice.cpp:295
↓ 1 callers
Method
CreateLibrary
test_unit/tester_sharedlib.cpp:30
↓ 1 callers
Function
DivisionByZero
example/main_fatal_choice.cpp:75
↓ 1 callers
Function
ExecuteDeathFunction
example/main_fatal_choice.cpp:169
↓ 1 callers
Function
ForwardChoiceForFatalExit
example/main_fatal_choice.cpp:291
↓ 1 callers
Function
ObsoleteSpawnTask
test_unit/test_cpp_future_concepts.cpp:68
↓ 1 callers
Function
ToLower
example/main_fatal_choice.cpp:34
↓ 1 callers
Method
action
test_unit/tester_sharedlib.cpp:24
↓ 1 callers
Method
addSink
src/g3log/logworker.hpp:89
↓ 1 callers
Method
async
src/g3log/sink.hpp:71
next →
1–100 of 292, ranked by callers