ch.sahits.codegen.core.util
Class LogFactory

java.lang.Object
  extended by ch.sahits.codegen.core.util.LogFactory

public class LogFactory
extends java.lang.Object

Factory for the logger

Since:
2.1.0
Author:
Andi Hotz, Sahits GmbH

Constructor Summary
LogFactory()
           
 
Method Summary
static ILogger getLogger()
          Retrieve an instance of a logger.
static void main(java.lang.String[] args)
          Test the logger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogFactory

public LogFactory()
Method Detail

getLogger

public static ILogger getLogger()
Retrieve an instance of a logger. If this class was called from a UI context a logger for the Eclipse error log is returned else a logger for the global namespace using java.util.logger package

Returns:
Instance of ILogger

main

public static void main(java.lang.String[] args)
Test the logger

Parameters:
args -