Class LogUtils

java.lang.Object
org.freeplane.core.util.LogUtils

public class LogUtils extends Object
Utilities for logging to the standard logfile.

In scripts this class can be accessed via the "global" variable logger, so this is the way to log in scripts:

  try {
      logger.info("this node as date: " + node.to.date)
  } catch (Exception ex) {
      logger.severe('error on conversion of "' + node.text + '" to date', ex)
  }
 
  • Constructor Details

    • LogUtils

      public LogUtils()
  • Method Details

    • getLogDirectory

      public static String getLogDirectory()
    • info

      public static void info(String string)
    • info

      public static void info(Transferable t)
    • severe

      public static void severe(String message)
    • severe

      public static void severe(String comment, Throwable e)
    • severe

      public static void severe(Throwable e)
    • warn

      public static void warn(String msg)
    • warn

      public static void warn(String comment, Throwable e)
    • warn

      public static void warn(Throwable e)
    • getLogger

      public static Logger getLogger()