The code architecture allows a simple method to be monitored.
The code architecture allows a simple method to be monitored.
mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.azmisahin -DartifactId=tracking
You must first set up
git clone https://github.com/azmisahin/azmisahin-software-global-component-Tracking-java.git
cd azmisahin-software-global-component-Tracking-java
mvn compile
App.java
import com.azmisahin.*;
/**
* Console Application
*/
class App{
/**
* Application Start
* @param args Arguments
*/
public static void main(String[] args){
Trace.Debug("This Debug Message");
Trace.Info("This Info Message");
Trace.Warning("This Warning Message");
Trace.Error("This Error Message");
}
}
Output