0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[Memo]AndroidでOpenframeworksを動かした時のLog出し

Posted at

Logは大事

OpenframeworksのcppファイルからLogCatにLogを流したい時は

main.cpp
int main(){
	ofSetupOpenGL(1024,768, OF_WINDOW);			// <-------- setup the GL context
	ofSetLogLevel(OF_LOG_NOTICE);


	// this kicks off the running of my app
	// can be OF_WINDOW or OF_FULLSCREEN
	// pass in width and height too:
	ofRunApp( new ofApp() );
	return 0;
}
ofApp.cpp
# include "ofxFft.h"

/**
 * 略
**/

void ofApp::update(){
ofLogNotice("ofApp") << "String"<<int;
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?