How To Install QsLog on Fedora 34

QsLog is An easy to use logger that is based on Qt’s QDebug class An easy to use logger that is based on Qt’s QDebug class

Introduction

In this tutorial we learn how to install QsLog on Fedora 34.

What is QsLog

QsLog is an easy to use logger that is based on Qt’s QDebug class. Features * Six logging levels (from trace to fatal) * Logging level threshold configurable at runtime. * Minimum overhead when logging is turned off. * Supports multiple destinations, comes with file and debug destinations. * Thread-safe * Supports logging of common Qt types out of the box. QsLog 0 20.2959cecgit.fc34 x86_64 28 k QsLog-0-20.2959cecgit.fc34.src.rpm fedora An easy to use logger that is based on Qt’s QDebug class https BSD QsLog is an easy to use logger that is based on Qt’s QDebug class. Features * Six logging levels (from trace to fatal) * Logging level threshold configurable at runtime. * Minimum overhead when logging is turned off. * Supports multiple destinations, comes with file and debug destinations. * Thread-safe * Supports logging of common Qt types out of the box.

We can use yum or dnf to install QsLog on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install QsLog.

Install QsLog on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install QsLog using dnf by running the following command:

sudo dnf -y install QsLog

Install QsLog on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install QsLog using yum by running the following command:

sudo yum -y install QsLog

How To Uninstall QsLog on Fedora 34

To uninstall only the QsLog package we can use the following command:

sudo dnf remove QsLog

QsLog Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/a4f0b17f3e39bfb27f147324aae2a6d265ee19
/usr/lib/libQsLog.so.2
/usr/lib/libQsLog.so.2.0
/usr/lib/libQsLog.so.2.0.0
/usr/share/doc/QsLog
/usr/share/doc/QsLog/LICENSE
/usr/share/doc/QsLog/QsLogReadme.txt
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/e40db6dea795c231193164a3901af06ba2ac4c
/usr/lib64/libQsLog.so.2
/usr/lib64/libQsLog.so.2.0
/usr/lib64/libQsLog.so.2.0.0
/usr/share/doc/QsLog
/usr/share/doc/QsLog/LICENSE
/usr/share/doc/QsLog/QsLogReadme.txt

References

Summary

In this tutorial we learn how to install QsLog on Fedora 34 using yum and dnf.