/*
 * Cuelib library for manipulating cue sheets.
 * Copyright (C) 2007-2008 Jan-Willem van den Broek
 * 
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package jwbroek.cuelib;

import java.util.logging.Logger;

/**
 * Simple warning for use by a cue sheet.
 * @author jwbroek
 */
public class Warning extends MessageImplementation
{
  /**
   * The logger for this class.
   */
  private final static Logger logger = Logger.getLogger(CueSheetSerializer.class.getCanonicalName());
  
  /**
   * Create a new Warning message.
   * @param input The input that caused the warning.
   * @param lineNumber The line number of the input that caused the warning.
   * @param message A message explaining what is wrong.
   */
  public Warning(final String input, final int lineNumber, final String message)
  {
    super("Warning", input, lineNumber, message);
    Warning.logger.entering(Warning.class.getCanonicalName(), "Warning()");
    Warning.logger.exiting(Warning.class.getCanonicalName(), "Warning()");
  }

  /**
   * Create a new Warning message.
   * @param lineOfInput The input that caused the warning.
   * @param message A message explaining what is wrong.
   */
  public Warning(final LineOfInput lineOfInput, final String message)
  {
    super("Warning", lineOfInput, message);
    Warning.logger.entering(Warning.class.getCanonicalName(), "Warning()");
    Warning.logger.exiting(Warning.class.getCanonicalName(), "Warning()");
  }
}

@@ -881,32 +881,56 @@
 ort 
-java.util.logging.Logger
+org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory
 ;%0A%0A/
@@ -974,16 +974,19 @@
  sheet.%0A
+ *%0A
  * @auth
@@ -1054,17 +1054,22 @@
 tion
-%0A
+ 
 %7B%0A
+%0A 
   
+ 
 /**%0A
+  
    *
@@ -1099,19 +1099,23 @@
 ass.%0A   
+  
 */%0A
+  
   privat
@@ -1151,16 +1151,23 @@
 = Logger
+Factory
 .getLogg
@@ -1173,63 +1173,34 @@
 ger(
-CueSheetSerializer.class.getCanonicalName()
+Warning.class
 );%0A  
-%0A
   /**%0A
+  
    *
@@ -1222,32 +1222,41 @@
 arning message.%0A
+     *%0A  
    * @param inpu
@@ -1253,24 +1253,29 @@
 param input 
+     
 The input th
@@ -1289,32 +1289,34 @@
 ed the warning.%0A
+  
    * @param line
@@ -1368,32 +1368,34 @@
 ed the warning.%0A
+  
    * @param mess
@@ -1390,32 +1390,35 @@
  @param message 
+   
 A message explai
@@ -1432,35 +1432,39 @@
 at is wrong.%0A   
+  
 */%0A
+  
   public Warning
@@ -1519,37 +1519,39 @@
  String message)
-%0A 
  %7B%0A
+    
     super(%22Warni
@@ -1592,166 +1592,21 @@
     
-Warning.logger.entering(Warning.class.getCanonicalName(), %22Warning()%22);%0A    Warning.logger.exiting(Warning.class.getCanonicalName(), %22Warning()%22);%0A  
 %7D%0A%0A
+  
   /**%0A
+  
    *
@@ -1636,16 +1636,25 @@
 essage.%0A
+     *%0A  
    * @pa
@@ -1707,16 +1707,18 @@
 ing.%0A   
+  
 * @param
@@ -1726,16 +1726,20 @@
 message 
+    
 A messag
@@ -1769,21 +1769,25 @@
 ong.%0A   
+  
 */%0A  
+ 
+ 
 public W
@@ -1849,13 +1849,15 @@
 age)
-%0A 
  %7B%0A
+    
     
@@ -1902,157 +1902,8 @@
 ;%0A  
-  Warning.logger.entering(Warning.class.getCanonicalName(), %22Warning()%22);%0A    Warning.logger.exiting(Warning.class.getCanonicalName(), %22Warning()%22);%0A
   %7D%0A

Reformat & Migrate logging