@@ -48,11 +48,11 @@ class Runtime::Internal {
4848
4949 std::pair<bool , int > Init (int argc, char ** argv) {
5050 if (state_ != State::kNotInitialized ) {
51- LWNODE_DEV_LOG (" [Runtime::Init] already initialized" );
51+ LWNODE_DEV_LOG (" [Runtime::Internal:: Init] already initialized" );
5252 return std::make_pair (false , -1 );
5353 }
5454
55- LWNODE_DEV_LOG (" [Runtime::Init]" );
55+ LWNODE_DEV_LOG (" [Runtime::Internal:: Init]" );
5656 state_ = State::kInitialized ;
5757
5858 // Set sendMessageSync callback to isolate context embedder data.
@@ -72,12 +72,12 @@ class Runtime::Internal {
7272
7373 int Run () {
7474 if (state_ != State::kInitialized ) {
75- LWNODE_DEV_LOG (" [Runtime::Run] not initialized" );
75+ LWNODE_DEV_LOG (" [Runtime::Internal:: Run] not initialized" );
7676 return -1 ;
7777 }
7878
7979 CHECK_NOT_NULL (instance_);
80- LWNODE_DEV_LOG (" [Runtime::Run]" );
80+ LWNODE_DEV_LOG (" [Runtime::Internal:: Run]" );
8181 state_ = State::kRunning ;
8282
8383 int result = runner_.Run (*instance_);
@@ -89,26 +89,26 @@ class Runtime::Internal {
8989
9090 void Stop () {
9191 if (state_ != State::kRunning ) {
92- LWNODE_DEV_LOG (" [Runtime::Stop] already stopped" );
92+ LWNODE_DEV_LOG (" [Runtime::Internal:: Stop] already stopped" );
9393 return ;
9494 }
9595
9696 CHECK_NOT_NULL (instance_);
97- LWNODE_DEV_LOG (" [Runtime::Stop]" );
97+ LWNODE_DEV_LOG (" [Runtime::Internal:: Stop]" );
9898 state_ = State::kStopped ;
9999
100100 runner_.Stop ();
101101 }
102102
103103 void Free () {
104104 if (state_ != State::kStopped && state_ != State::kInitialized ) {
105- LWNODE_DEV_LOG (" [Runtime::Free] not stopped" );
105+ LWNODE_DEV_LOG (" [Runtime::Internal:: Free] not stopped" );
106106 return ;
107107 }
108108
109109 state_ = State::kReleased ;
110110 if (instance_) {
111- LWNODE_DEV_LOG (" [Runtime::Free]" );
111+ LWNODE_DEV_LOG (" [Runtime::Internal:: Free]" );
112112 DisposeNode (instance_);
113113 }
114114
0 commit comments