package edu.ucsf.mousedatabase;
import java.util.logging.*;

public class Log {

  private static Logger _logger;
  public static final String loggerName = "mousedblogger";


  public static void Initialize()
  {
    _logger = Logger.getLogger(loggerName);
    _logger.setLevel(Level.ALL);
    _logger.info("Logging initialized.");
  }


  public static void Info(Object o)
  {
    if (o == null)
    {
      return;
    }
    _logger.info(o.toString());
  }

  public static void Error(Object o)
  {
    Error(o, null);
  }

  public static void Error(Object o, Throwable exception)
  {
    if (o == null)
    {
      _logger.log(Level.SEVERE, "<null log message>", exception);
    }
    else
    {
      _logger.log(Level.SEVERE, o.toString(), exception);
    }
  }


}

@@ -159,11 +159,14 @@
 ouse
-dbl
+spaceL
 ogge
@@ -384,36 +384,32 @@
   if (o == null)
-%0A   
  %7B%0A      return;
@@ -446,24 +446,134 @@
 ring());%0A  %7D
+%0A  %0A  public static void Info(String string, Object object) %7B%0A    _logger.log(Level.INFO, string, object);%0A  %7D
 %0A%0A  public s
@@ -866,16 +866,14 @@
 ;%0A    %7D%0A
+
   %7D%0A
-%0A%0A
 %7D%0A

Add Log.info siganture for logging objects