Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/merlotxml/merlot/plugins/configeditor/ConfigEditorDebug.java


1   package org.merlotxml.merlot.plugins.configeditor;
2   
3   public class ConfigEditorDebug 
4   {
5       boolean DEBUG = true;
6   
7       public ConfigEditorDebug()
8       {
9       }
10  
11      public ConfigEditorDebug(boolean flag)
12      {
13          DEBUG = flag;
14      }
15  
16      /**
17       * @param the String which is to be processed
18       */
19      public void msg(String message)
20      {
21          if (DEBUG) { System.out.println(message); }
22      }
23  
24      public void setDebug (boolean flag) {
25          DEBUG = flag;
26      }
27  }