X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git;a=blobdiff_plain;f=dali%2Finternal%2Fwindow-system%2Fcommon%2Fecore-server-connection.cpp;h=61b48e28d3e360565c82d72b6538b579ae5d1999;hp=4a4145d06e7008fcf20769cd6e5d496816946379;hb=44ac6b074a4d7d2f9474331a364e4629c0bce11a;hpb=969eba3fde5242ccfdef562bb3dd21712ff9df9b diff --git a/dali/internal/window-system/common/ecore-server-connection.cpp b/dali/internal/window-system/common/ecore-server-connection.cpp index 4a4145d..61b48e2 100644 --- a/dali/internal/window-system/common/ecore-server-connection.cpp +++ b/dali/internal/window-system/common/ecore-server-connection.cpp @@ -43,7 +43,7 @@ namespace Internal namespace Adaptor { #if defined(DEBUG_ENABLED) -extern Debug::Filter* gIndicatorLogFilter; +Debug::Filter* gServerConnectionLogFilter = Debug::Filter::New(Debug::NoLogging, false, "LOG_SERVER_CONNECTION"); #endif ServerConnection::ServerConnection( @@ -67,13 +67,13 @@ ServerConnection::ServerConnection( ipctype = ECORE_IPC_LOCAL_SYSTEM; } - DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "ServerConnection: Connecting to %s %d\n", mService.name, mService.num ); + DALI_LOG_INFO( gServerConnectionLogFilter, Debug::General, "ServerConnection: Connecting to %s %d\n", mService.name, mService.num ); mIpcServer = ecore_ipc_server_connect( ipctype, (char *)mService.name, mService.num, this ); if( !mIpcServer ) { - DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "mIpcServer is null\n" ); + DALI_LOG_INFO( gServerConnectionLogFilter, Debug::General, "mIpcServer is null\n" ); ecore_ipc_shutdown(); } else @@ -145,14 +145,14 @@ bool ServerConnection::SendEvent( int event, int ref, int ref_to, const void *da Eina_Bool ServerConnection::IpcServerAdd( void *data, int /*type*/, void *event ) { - DALI_LOG_INFO(gIndicatorLogFilter, Debug::General, "ServerConnection: IpcServerAdd\n" ); + DALI_LOG_INFO(gServerConnectionLogFilter, Debug::General, "ServerConnection: IpcServerAdd\n" ); return ECORE_CALLBACK_PASS_ON; } Eina_Bool ServerConnection::IpcServerDel( void *data, int /*type*/, void *event ) { - DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "ServerConnection: IpcServerDel\n" ); + DALI_LOG_INFO( gServerConnectionLogFilter, Debug::General, "ServerConnection: IpcServerDel\n" ); Ecore_Ipc_Event_Server_Del *e = static_cast( event ); ServerConnection* connection = static_cast( data ); @@ -171,7 +171,7 @@ Eina_Bool ServerConnection::IpcServerDel( void *data, int /*type*/, void *event Eina_Bool ServerConnection::IpcServerData( void *data, int /*type*/, void *event ) { - DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "ServerConnection: IpcServerData\n" ); + DALI_LOG_INFO( gServerConnectionLogFilter, Debug::General, "ServerConnection: IpcServerData\n" ); Ecore_Ipc_Event_Server_Data *e = static_cast( event ); ServerConnection* connection = static_cast( data ); @@ -200,7 +200,7 @@ void ServerConnection::CloseConnection() { if( mConnected ) { - DALI_LOG_INFO( gIndicatorLogFilter, Debug::General, "ServerConnection: CloseConnection\n" ); + DALI_LOG_INFO( gServerConnectionLogFilter, Debug::General, "ServerConnection: CloseConnection\n" ); if( mIpcServer ) { @@ -219,4 +219,4 @@ void ServerConnection::CloseConnection() } // Dali -#pragma GCC diagnostic pop \ No newline at end of file +#pragma GCC diagnostic pop