com.ephox.editlive.util
Class LoggingUtils

java.lang.Object
  extended by com.ephox.editlive.util.LoggingUtils

public final class LoggingUtils
extends Object

Provides control over the log level of the editor. These methods should be used before instantiating ELJBean; using them at runtime will have some effect but may not capture all data related to a problem.

When submitting a support request, Ephox will generally request the console output with enableDebugging() turned on.


Method Summary
static void enableDebugging()
          Sets the log level to "http"
static void setDebugLevel(String debugLevel)
          Sets the logging level for the editor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

enableDebugging

public static void enableDebugging()
Sets the log level to "http"

See Also:
setDebugLevel(String)

setDebugLevel

public static void setDebugLevel(String debugLevel)
Sets the logging level for the editor. Defaults to "error".

Parameters:
debugLevel - In order of verbosity, must be one of "fatal", "warn", "error", "http", "httptrace", "off".

Copyright (c) 2005-2012 Ephox Pty Ltd. All rights reserved.