API reference

console.h · C++ API

Browse entries grouped by interface file. Expand an entry for declarations, usage and version boundaries.

Read the related guide →

Entries retain declarations and sources. Runtime verification is recorded per entry; internal source candidates are not a promise of SDK delivery.

include/kui/devtools/console.h
Console::addMessageCallback
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
u32 addMessageCallback(MessageCallback cb);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:90

Report an issue with this entry →
Console::clear
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void clear();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:69

Report an issue with this entry →
Console::debug
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void debug(const String& category, const String& message);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:51

Report an issue with this entry →
Console::dump
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
String dump(LogLevel minLevel = LogLevel::Debug) const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:98

Report an issue with this entry →
Console::error
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void error(const String& category, const String& message);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:48

Report an issue with this entry →
Console::errorCount
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
u32 errorCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:63

Report an issue with this entry →
Console::info
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void info(const String& category, const String& message);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:50

Report an issue with this entry →
Console::infoCount
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
u32 infoCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:66

Report an issue with this entry →
Console::instance
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
static Console& instance();

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:42

Report an issue with this entry →
Console::isEnabled
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
bool isEnabled() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:74

Report an issue with this entry →
Console::log
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void log(LogLevel level, const String& category, const String& message);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:45

Report an issue with this entry →
Console::log
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void log(LogLevel level, const String& category, const String& message, u32 windowId);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:47

Report an issue with this entry →
Console::messages
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
std::vector<ConsoleMessage> messages() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:53

Report an issue with this entry →
Console::messages
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
std::vector<ConsoleMessage> messages(LogLevel minLevel) const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:57

Report an issue with this entry →
Console::messagesForWindow
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
std::vector<ConsoleMessage> messagesForWindow(u32 windowId, LogLevel minLevel = LogLevel::Debug) const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:60

Report an issue with this entry →
Console::minLevel
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
LogLevel minLevel() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:78

Report an issue with this entry →
Console::removeMessageCallback
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void removeMessageCallback(u32 id);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:93

Report an issue with this entry →
Console::setEnabled
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void setEnabled(bool e)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:72

Report an issue with this entry →
Console::setMaxMessages
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void setMaxMessages(u32 max)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:80

Report an issue with this entry →
Console::setMessageCallback
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void setMessageCallback(MessageCallback cb);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:95

Report an issue with this entry →
Console::setMinLevel
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void setMinLevel(LogLevel level)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:76

Report an issue with this entry →
Console::setStderrOutput
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void setStderrOutput(bool e)

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:83

Report an issue with this entry →
Console::stderrOutput
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
bool stderrOutput() const

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:85

Report an issue with this entry →
Console::totalCount
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
u32 totalCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:67

Report an issue with this entry →
Console::void
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
using MessageCallback = std::function<void(const ConsoleMessage&)>;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:87

Report an issue with this entry →
Console::warn
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
void warn(const String& category, const String& message);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:49

Report an issue with this entry →
Console::warnCount
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
u32 warnCount() const;

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:65

Report an issue with this entry →
KUI_LOG_ERROR
Needs verification3.61.7C++

Installed header declaration in the devtools module. The signature is shown as declared. Check the owning type for lifetime, threading and platform requirements.

console.h
#define KUI_LOG_ERROR(cat, msg) do { auto& c_ = ::kui::Console::instance(); if (c_.isEnabled()) c_.error(cat, msg); } while(0) #define KUI_LOG_WARN(cat, msg) do { auto& c_ = ::kui::Console::instance(); if (c_.isEnabled()) c_.warn(cat, msg); } while(0) #define KUI_LOG_INFO(cat, msg) do { auto& c_ = ::kui::Console::instance(); if (c_.isEnabled()) c_.info(cat, msg); } while(0) #define KUI_LOG_DEBUG(cat, msg) do { auto& c_ = ::kui::Console::instance(); if (c_.isEnabled()) c_.debug(cat, msg); } while(0) KUI_API void logf(LogLevel level, const char* category, const char* fmt, ...);

Verification scope

Indexed from current sources. Runtime, combination and platform checks have not been completed for every entry.

include/kui/devtools/console.h:133

Report an issue with this entry →
Browse this reference type →