77#include " flutter/shell/platform/common/cpp/client_wrapper/include/flutter/standard_message_codec.h"
88#include " flutter/shell/platform/common/cpp/client_wrapper/include/flutter/standard_method_codec.h"
99#include " flutter/shell/platform/common/cpp/json_method_codec.h"
10- #include " flutter/shell/platform/tizen/logger.h"
1110#include " flutter/shell/platform/tizen/public/flutter_platform_view.h"
11+ #include " flutter/shell/platform/tizen/tizen_log.h"
1212
1313static constexpr char kChannelName [] = " flutter/platform_views" ;
1414
@@ -122,7 +122,7 @@ void PlatformViewChannel::HandleMethodCall(
122122 double width = ExtractDoubleFromMap (arguments, " width" );
123123 double height = ExtractDoubleFromMap (arguments, " height" );
124124
125- LoggerD (
125+ FT_LOGD (
126126 " PlatformViewChannel create viewType: %s id: %d width: %f height: %f " ,
127127 viewType.c_str (), viewId, width, height);
128128
@@ -152,19 +152,19 @@ void PlatformViewChannel::HandleMethodCall(
152152
153153 result->Success (flutter::EncodableValue (viewInstance->GetTextureId ()));
154154 } else {
155- LoggerE (" can't find view type = %s" , viewType.c_str ());
155+ FT_LOGE (" can't find view type = %s" , viewType.c_str ());
156156 result->Error (" 0" , " can't find view type" );
157157 }
158158 } else {
159159 int viewId = ExtractIntFromMap (arguments, " id" );
160160 auto it = view_instances_.find (viewId);
161161 if (viewId >= 0 && it != view_instances_.end ()) {
162162 if (method == " dispose" ) {
163- LoggerD (" PlatformViewChannel dispose" );
163+ FT_LOGD (" PlatformViewChannel dispose" );
164164 it->second ->Dispose ();
165165 result->Success ();
166166 } else if (method == " resize" ) {
167- LoggerD (" PlatformViewChannel resize" );
167+ FT_LOGD (" PlatformViewChannel resize" );
168168 double width = ExtractDoubleFromMap (arguments, " width" );
169169 double height = ExtractDoubleFromMap (arguments, " height" );
170170 it->second ->Resize (width, height);
@@ -188,18 +188,18 @@ void PlatformViewChannel::HandleMethodCall(
188188 it->second ->Touch (type, button, x, y, dx, dy);
189189 result->Success ();
190190 } else if (method == " setDirection" ) {
191- LoggerD (" PlatformViewChannel setDirection" );
191+ FT_LOGD (" PlatformViewChannel setDirection" );
192192 result->NotImplemented ();
193193 } else if (method == " clearFocus" ) {
194- LoggerD (" PlatformViewChannel clearFocus" );
194+ FT_LOGD (" PlatformViewChannel clearFocus" );
195195 it->second ->ClearFocus ();
196196 result->NotImplemented ();
197197 } else {
198- LoggerD (" Unimplemented method: %s" , method.c_str ());
198+ FT_LOGD (" Unimplemented method: %s" , method.c_str ());
199199 result->NotImplemented ();
200200 }
201201 } else {
202- LoggerE (" can't find view id" );
202+ FT_LOGE (" can't find view id" );
203203 result->Error (" 0" , " can't find view id" );
204204 }
205205 }
0 commit comments