ua.gradsoft.termware.util
Class LogHelper

java.lang.Object
  extended by ua.gradsoft.termware.util.LogHelper

public class LogHelper
extends Object

Helper for logging into system environments.

Author:
Ruslan Shevchenko

Constructor Summary
LogHelper()
           
 
Method Summary
static void log(TermSystem sys, Class aClass, String message)
          output message message if system sys in logging mode and logged entities are "All" or aClass.getName() .
static void log(TermSystem sys, Class aClass, String message, Substitution s)
          output message message with substitution s if system sys in logging mode and logged entities are "All" or aClass.getName() .
static void log(TermSystem sys, Class aClass, String message, Term t)
          output message message with term t if system sys in logging mode and logged entities are "All" or aClass.getName() .
static void log(TermSystem sys, String debugEntity, Class aClass, String message)
          output message message if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .
static void log(TermSystem sys, String debugEntity, Class aClass, String message, Substitution s)
          output message message with substitution s if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .
static void log(TermSystem sys, String debugEntity, Class aClass, String message, Term t)
          output message message with term t if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogHelper

public LogHelper()
Method Detail

log

public static void log(TermSystem sys,
                       Class aClass,
                       String message)
output message message if system sys in logging mode and logged entities are "All" or aClass.getName() .


log

public static void log(TermSystem sys,
                       Class aClass,
                       String message,
                       Term t)
output message message with term t if system sys in logging mode and logged entities are "All" or aClass.getName() .


log

public static void log(TermSystem sys,
                       Class aClass,
                       String message,
                       Substitution s)
output message message with substitution s if system sys in logging mode and logged entities are "All" or aClass.getName() .


log

public static void log(TermSystem sys,
                       String debugEntity,
                       Class aClass,
                       String message)
output message message if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .


log

public static void log(TermSystem sys,
                       String debugEntity,
                       Class aClass,
                       String message,
                       Term t)
output message message with term t if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .


log

public static void log(TermSystem sys,
                       String debugEntity,
                       Class aClass,
                       String message,
                       Substitution s)
output message message with substitution s if system sys in logging mode and logged entities are "All" or debugEntity or aClass.getName() .