Warning: Declaration of action_plugin_linebreak::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/linebreak/action.php on line 41

Warning: Declaration of action_plugin_markdownextra::register(&$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/markdownextra/action.php on line 16

Warning: Declaration of action_plugin_syntaxhighlighter3_action::register(Doku_Event_Handler &$controller) should be compatible with DokuWiki_Action_Plugin::register(Doku_Event_Handler $controller) in /home/stepism/www/ue4/wiki/lib/plugins/syntaxhighlighter3/action/action.php on line 28
wiki:ue4:tips:debug:001

デバッグログ出力(4.7.5)

コンソール出力以外にも、画面に出力出来るものなどいろいろあります。

 
// コンソールログ。 
UE_LOG(LogTemp, Log, TEXT("Log text %f TEST"), 0.1f); 
UE_LOG(LogTemp, Warning, TEXT("Log warning TEST")); 
UE_LOG(LogTemp, Error, TEXT("Log error TEST")); 

// デバイス書き込みログ? 
FError::Throwf(TEXT("Log error TEST DAYO")); 

// デバッグスクリーンメッセージ。 
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("On screen message!")); 
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Green, FString::Printf(TEXT("pos z = %f"), 10.0f));