| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| Logger |
|
| 1.0;1 |
| 1 | package org.codeforamerica.open311.internals.logging; | |
| 2 | ||
| 3 | /** | |
| 4 | * Defines all the required operations to log events in the library. | |
| 5 | * | |
| 6 | * @author Santiago MunĂn <santimunin@gmail.com> | |
| 7 | * | |
| 8 | */ | |
| 9 | public interface Logger { | |
| 10 | ||
| 11 | public final static String TAG = "open311_java"; | |
| 12 | ||
| 13 | /** | |
| 14 | * Logs a non-critical event. | |
| 15 | * | |
| 16 | * @param message | |
| 17 | * Message to log. | |
| 18 | */ | |
| 19 | public void logInfo(String message); | |
| 20 | ||
| 21 | /** | |
| 22 | * Logs an error. | |
| 23 | * | |
| 24 | * @param message | |
| 25 | * Message to log. | |
| 26 | */ | |
| 27 | public void logError(String message); | |
| 28 | ||
| 29 | } |