18 Commits (31e78ff0c2d15b650564d6027b2c2296b56a227f)

Author SHA1 Message Date
Adriaan de Groot 432b8848ab [libcalamares] Make #include guards consistent 6 years ago
Adriaan de Groot d72e3b3c22 [libcalamares] Simplify writing of logging continuations
- Instead of Continuation(), write just Continuation
 - All that futzing with overloads and tag-classes isn't needed
   since the whole point is to output some constant string. Leave
   cleverness for later, if it's needed.
6 years ago
Adriaan de Groot 09ae721038 [libcalamares] Structure continuations and sub-entries 6 years ago
Adriaan de Groot 0b1c969a80 [libcalamares] Allow querying debug settings 7 years ago
Adriaan de Groot 6c87747a5d [libcalamares] Make it possible to get the logfile name 7 years ago
Adriaan de Groot 00a5baa3d9 [libcalamares] Improve process logging
- Don't insert a space before the output of a process
 - To do this, suppress space and quoting on the output, and to do
   that move the labeling-output for warnings and errors into
   the constructor (so that an idiomatic .nospace() does the right thing).
7 years ago
Adriaan de Groot 240efd30f1 [libcalamares] Add support for formatted, table-like output
- Use DebugRow for one-row-at-a-time output with continuations.
 - Use DebugList for one-item-per-line with continuations.
 - Use DebugMap for one-row-at-a-time output of a QVariantMap.
7 years ago
Adriaan de Groot 6bb72d173d [libcalamares] Drop generic cLog()
- Use cWarning or cError() for errors
 - Use cDebug(level) for other uses (but there aren't any)
7 years ago
Adriaan de Groot ad6227ce21 [libcalamares] Remove internal functions from the logging API 7 years ago
Adriaan de Groot a1cbb161ee [libcalamares] Make setup of log-level explicit
- Replace the implicit setting of a logging level
   (the first time logging is called) with explicit
   setupLogLevel().
7 years ago
Adriaan de Groot df0d9dcb88 [libcalamares] Provide convenience functions for warning and error 7 years ago
Adriaan de Groot ae5511c2f3 [libcalamares] Rationalize logging
- Move logging-levels to an enum
 - (re-)Order logging-levels so that the normal debug statement is
   not the most-important (lowest level).
 - Drop using namespace std;
7 years ago
Adriaan de Groot 762ad54344 Documentation: change http links to GitHub to https 8 years ago
Adriaan de Groot 297e97da19 Clang: tidy up warnings in logger 8 years ago
Adriaan de Groot 8ea14d7957 Release: add copyright to files I've touched 8 years ago
Adriaan de Groot 2148538fac Clang: reduce warnings 8 years ago
Teo Mrnjavac 4e14ec7834 Fixed defines for Logger 11 years ago
Teo Mrnjavac b21dc4fe4c Added Utils, Logger, Translations, QCommandLineParser, init boilerplate 11 years ago