dlr-gtlab / gt-logging

Basic C++14 logging library based on QsLog
0 stars 0 forks source link

Allow the logging of QVector and QList that contain types which cannot be logged using QDebug #61

Closed rainman110 closed 10 months ago

rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 07:39

Something like this would not be possible if there isn't a QDebug::operator<< defined for MyStruct

    gtInfo() << QVector<MyStruct>{
        MyStruct{12}, 
        MyStruct{13}, 
        MyStruct{14}
    };
    // OUT: "(MyStruct(12), MyStruct(13), MyStruct(14))";
rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 07:39

created branch 61-allow-the-logging-of-qvector-and-qlist-thath-contain-types-that-cannot-be-logged-using-qdebug to address this issue

rainman110 commented 1 year ago

In GitLab by @mariusalexander on Sep 15, 2023, 15:53

mentioned in commit 7d9b0b2375f1c54091c5f2f152bc67b50d13286f