Mentawai Recipes
Search
Recent Topics
Hottest Topics
Member Listing
Back to home page
Moderation Log
Register
/
Login
Logging: how to enable and use in 3 easy steps
Forum Index
»
Community Recipes
Author
Message
04/12/2008 06:42:28
Subject:
Logging: how to enable and use in 3 easy steps
rodrigo.avila
Joined: 24/01/2008 05:07:19
Messages: 30
Offline
The Mentawai logging system is very simple and non-intrusive. To use it, follow these steps:
1) Activate the logging system in ApplicationManager:
public void init(Context application){ Debug.enable(true); [...] }
2) Use:
Debug.log("logged text: bla bla bla...");
3) See the logged text in
<nome_do_contexto>/WEB-INF/logs
Forum Index
»
Community Recipes
Go to:
Select a forum
Official Recipes
Community Recipes
Receitas Oficiais
Receitas da Comunidade
Site Docs
Powered by
JForum 2.1.8
©
JForum Team