summaryrefslogtreecommitdiff
path: root/AK/ScopeLogger.h
AgeCommit message (Collapse)Author
2021-06-29AK: Store the 'extra' field of ScopeLogger as StringItamar
It was previously stored as a StringView, which prevented us from using temporary strings in the 'extra' argument. The performance hit doesn't really matter because ScopeLogger is used exclusively for debugging.
2021-06-29AK: Don't colorize the 'extra' field of ScopeLogger in dbgln()Itamar
It's easier to spot it in the debug logs this way :)
2021-05-17AK: Include String.h in ScopeLoggerAli Mohammad Pur
2021-05-08AK+LibCpp: Remove DEBUG_SPAM in favour of per-application definesAli Mohammad Pur
What happens if one file defines DEBUG_SPAM, and another doesn't, then we link them together and get ODR violations? -- @ADKaster
2021-05-08AK: Add an optional 'extra' descriptive field to ScopeLoggerAli Mohammad Pur
Often it's easier to know what the functions are doing with a unique name next to the function's name :)
2021-04-25LibCpp: Convert ScopeLogger to use AK:SourceLocationBrian Gianforcaro
Utilize AK::SourceLocation to get function information into the scope logger, instead of relying on pre-processor macros.
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-01-27LibCpp: Add the beginning of a C++ parserItamar
This parser will be used by the C++ langauge server to provide better auto-complete (& maybe also other things in the future). It is designed to be error tolerant, and keeps track of the position spans of the AST nodes, which should be useful later for incremental parsing.