mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 08:45:36 +08:00
Fix assert in DBus if dbus_server_listen returned NULL
ref T589
This commit is contained in:
committed by
Mat Sutcliffe
parent
77acffb73e
commit
821e0b10b6
@@ -31,7 +31,7 @@ namespace XSwiftBus
|
||||
{
|
||||
public:
|
||||
//! Message type
|
||||
enum MsgType { DebugMsg, WarningMsg, FatalMsg, InfoMsg };
|
||||
enum MsgType { DebugMsg, WarningMsg, ErrorMsg, InfoMsg };
|
||||
|
||||
Logger() = delete;
|
||||
|
||||
@@ -44,6 +44,7 @@ namespace XSwiftBus
|
||||
#define DEBUG_LOG(msg) Logger::print(__FILE__, __LINE__, Logger::DebugMsg, msg)
|
||||
#define INFO_LOG(msg) Logger::print(__FILE__, __LINE__, Logger::InfoMsg, msg)
|
||||
#define WARNING_LOG(msg) Logger::print(__FILE__, __LINE__, Logger::WarningMsg, msg)
|
||||
#define ERROR_LOG(msg) Logger::print(__FILE__, __LINE__, Logger::ErrorMsg, msg)
|
||||
//! @}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user