/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 5 "../Log4jTest1.ump"
public class Tracer
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(Tracer.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//Tracer Attributes
private String x;
private int y;
//------------------------
// CONSTRUCTOR
//------------------------
public Tracer(String aX, int aY)
{
x = aX;
y = aY;
}
//------------------------
// INTERFACE
//------------------------
public boolean setX(String aX)
{
boolean wasSet = false;
logger.info( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest1.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
x = aX;
wasSet = true;
return wasSet;
}
public boolean setY(int aY)
{
boolean wasSet = false;
logger.info( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest1.ump,10,Tracer,"+System.identityHashCode(this)+",at_s,y,"+y+","+(""+aY).toString().replace("\n","").replace(",",";") );
y = aY;
wasSet = true;
return wasSet;
}
public String getX()
{
return x;
}
public int getY()
{
return y;
}
public void delete()
{}
public String toString()
{
return super.toString() + "["+
"x" + ":" + getX()+ "," +
"y" + ":" + getY()+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 5 "../Log4jTest2.ump"
public class Tracer
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(Tracer.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//Tracer Attributes
private String x;
private int y;
//------------------------
// CONSTRUCTOR
//------------------------
public Tracer(String aX, int aY)
{
x = aX;
y = aY;
}
//------------------------
// INTERFACE
//------------------------
public boolean setX(String aX)
{
boolean wasSet = false;
logger.debug( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest2.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
x = aX;
wasSet = true;
return wasSet;
}
public boolean setY(int aY)
{
boolean wasSet = false;
logger.fatal( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest2.ump,10,Tracer,"+System.identityHashCode(this)+",at_s,y,"+y+","+(""+aY).toString().replace("\n","").replace(",",";") );
y = aY;
wasSet = true;
return wasSet;
}
public String getX()
{
return x;
}
public int getY()
{
return y;
}
public void delete()
{}
public String toString()
{
return super.toString() + "["+
"x" + ":" + getX()+ "," +
"y" + ":" + getY()+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 5 "../Log4jTest3.ump"
public class Tracer
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(Tracer.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//Tracer Attributes
private String x;
private int y;
//------------------------
// CONSTRUCTOR
//------------------------
public Tracer(String aX, int aY)
{
x = aX;
y = aY;
}
//------------------------
// INTERFACE
//------------------------
public boolean setX(String aX)
{
boolean wasSet = false;
logger.debug( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest3.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.fatal( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest3.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
x = aX;
wasSet = true;
return wasSet;
}
public boolean setY(int aY)
{
boolean wasSet = false;
y = aY;
wasSet = true;
return wasSet;
}
public String getX()
{
return x;
}
public int getY()
{
return y;
}
public void delete()
{}
public String toString()
{
return super.toString() + "["+
"x" + ":" + getX()+ "," +
"y" + ":" + getY()+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 5 "../Log4jTest4.ump"
public class Tracer
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(Tracer.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//Tracer Attributes
private String x;
private int y;
//------------------------
// CONSTRUCTOR
//------------------------
public Tracer(String aX, int aY)
{
x = aX;
y = aY;
}
//------------------------
// INTERFACE
//------------------------
public boolean setX(String aX)
{
boolean wasSet = false;
logger.trace( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.debug( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.info( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.warn( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.error( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
logger.fatal( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest4.ump,9,Tracer,"+System.identityHashCode(this)+",at_s,x,"+x+","+(""+aX).toString().replace("\n","").replace(",",";") );
x = aX;
wasSet = true;
return wasSet;
}
public boolean setY(int aY)
{
boolean wasSet = false;
y = aY;
wasSet = true;
return wasSet;
}
public String getX()
{
return x;
}
public int getY()
{
return y;
}
public void delete()
{}
public String toString()
{
return super.toString() + "["+
"x" + ":" + getX()+ "," +
"y" + ":" + getY()+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 5 "../Log4jTest5.ump"
public class Tracer
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(Tracer.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//Tracer Attributes
private String x;
//------------------------
// CONSTRUCTOR
//------------------------
public Tracer(String aX)
{
x = aX;
}
//------------------------
// INTERFACE
//------------------------
public boolean setX(String aX)
{
boolean wasSet = false;
x = aX;
wasSet = true;
return wasSet;
}
public String getX()
{
return x;
}
public void delete()
{}
// line 13 "../Log4jTest5.ump"
public void method(){
logger.error( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest5.ump,9,Tracer,"+System.identityHashCode(this)+",me_e,method"+",logging method entry" );
}
// line 16 "../Log4jTest5.ump"
public void method2(int x){
x++;
logger.fatal( System.currentTimeMillis()+","+Thread.currentThread().getId()+",Log4jTest5.ump,11,Tracer,"+System.identityHashCode(this)+",me_x,method2"+",exiting method2" );
}
public String toString()
{
return super.toString() + "["+
"x" + ":" + getX()+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 3 "../A.ump"
public class A
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(A.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//------------------------
// CONSTRUCTOR
//------------------------
public A()
{}
//------------------------
// INTERFACE
//------------------------
public void delete()
{}
public String toString()
{
return super.toString() + "["+ "]";
}
}
/*PLEASE DO NOT EDIT THIS CODE*/
/*This code was generated using the UMPLE 1.35.0.7523.c616a4dce modeling language!*/
package example;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
// line 3 "../B.ump"
public class B
{
//------------------------
// STATIC VARIABLES
//------------------------
/**
* log4j version 2
* requires jars (log4j-api-2.0.1.jar) and (log4j-core-2.0.1.jar)
*/
public static final Logger logger = LogManager.getLogger(B.class);
//------------------------
// MEMBER VARIABLES
//------------------------
//------------------------
// CONSTRUCTOR
//------------------------
public B()
{}
//------------------------
// INTERFACE
//------------------------
public void delete()
{}
public String toString()
{
return super.toString() + "["+ "]";
}
}