mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-02-04 12:41:47 -06:00
Add int-type log operators
This commit is contained in:
parent
03639f6cd9
commit
77ae6072d8
@ -59,6 +59,8 @@ namespace linuxdeploy {
|
||||
ldLog operator<<(const std::string& message);
|
||||
ldLog operator<<(const char* message);
|
||||
ldLog operator<<(const boost::filesystem::path& path);
|
||||
ldLog operator<<(const int val);
|
||||
ldLog operator<<(const size_t val);
|
||||
ldLog operator<<(const double val);
|
||||
ldLog operator<<(stdEndlType strm);
|
||||
ldLog operator<<(const LD_LOGLEVEL logLevel);
|
||||
|
||||
@ -60,6 +60,14 @@ namespace linuxdeploy {
|
||||
return ldLog(true, logLevelSet, currentLogLevel);
|
||||
}
|
||||
|
||||
ldLog ldLog::operator<<(const int val) {
|
||||
return ldLog::operator<<(std::to_string(val));
|
||||
}
|
||||
|
||||
ldLog ldLog::operator<<(const size_t val) {
|
||||
return ldLog::operator<<(std::to_string(val));
|
||||
}
|
||||
|
||||
ldLog ldLog::operator<<(const double val) {
|
||||
return ldLog::operator<<(std::to_string(val));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user