Android Open Source - rapidLogger Test Rapid Log






From Project

Back to project page rapidLogger.

License

The source code is released under:

MIT License

If you think the Android project rapidLogger listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.rapidbiz.logger;
//from   w w w  .jav a2s . c o m
import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;

public class TestRapidLog extends Activity {
  
  private static final String TAG = "RAPID/LOG";

  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
    
    RapidAppLog log = new RapidAppLog(this);
    log.d(TAG, "test debug");
    
    log.i(TAG, "test info");
    log.w(TAG, "test warn");
    log.v(TAG, "test verbose");
  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.main, menu);
    return true;
  }

}




Java Source Code List

com.rapidbiz.logger.ConfigureLog4J.java
com.rapidbiz.logger.RapidAppLog.java
com.rapidbiz.logger.TestRapidLog.java