diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-17 16:48:13 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-17 16:48:13 +0200 |
commit | 400273f9a328b16e1a8b9e7dde7cc071ed285c0f (patch) | |
tree | 6d18a57728fd268cd90e2c0e2d4f34927d66f6f8 | |
parent | 94d2595281d8c992dfad37518d9677827541ed6c (diff) | |
download | sink-400273f9a328b16e1a8b9e7dde7cc071ed285c0f.tar.gz sink-400273f9a328b16e1a8b9e7dde7cc071ed285c0f.zip |
Avoid printing megabytes of data to the console.
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 6e22168..3aadc2c 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -49,7 +49,8 @@ QDebug Sink::ApplicationDomain::operator<< (QDebug d, const Sink::ApplicationDom | |||
49 | } | 49 | } |
50 | d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; | 50 | d << " " << "Resource: " << "\t" << type.resourceInstanceIdentifier() << "\n"; |
51 | for (const auto &property : properties) { | 51 | for (const auto &property : properties) { |
52 | d << " " << property << "\t" << type.getProperty(property) << "\n"; | 52 | //We limit the maximum length of the property for large blob properties. |
53 | d << " " << property << "\t" << type.getProperty(property).mid(0, 75) << "\n"; | ||
53 | } | 54 | } |
54 | d << ")"; | 55 | d << ")"; |
55 | return d; | 56 | return d; |