Package org.freeplane.core.util
Class LogUtils
java.lang.Object
org.freeplane.core.util.LogUtils
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
static Logger
static void
info
(Transferable t) static void
static boolean
isLikelyToStartErrorLog
(LogRecord record) static void
static void
static void
static void
static void
static void
-
Constructor Details
-
LogUtils
public LogUtils()
-
-
Method Details
-
getLogDirectory
-
info
-
info
-
severe
-
severe
-
severe
-
warn
-
warn
-
warn
-
getLogger
-
isLikelyToStartErrorLog
-