io.keen.client.java
Class KeenLogging

java.lang.Object
  extended by io.keen.client.java.KeenLogging

public class KeenLogging
extends java.lang.Object

KeenLogging is a wrapper around a logging module and provides, well, logging for the Keen Java SDK. Logging is disabled by default so as not to clutter up your development experience.

Since:
1.0.0

Constructor Summary
KeenLogging()
           
 
Method Summary
static void disableDefaultLogHandler()
          Disable the default log handler installed by the Keen Client to allow log management by standard j.u.l mechanisms.
static void disableLogging()
          Call this to disable logging.
static void enableLogging()
          Call this to enable logging.
static boolean isLoggingEnabled()
          Whether or not logging is enabled.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeenLogging

public KeenLogging()
Method Detail

enableLogging

public static void enableLogging()
Call this to enable logging.


disableLogging

public static void disableLogging()
Call this to disable logging.


disableDefaultLogHandler

public static void disableDefaultLogHandler()
Disable the default log handler installed by the Keen Client to allow log management by standard j.u.l mechanisms.


isLoggingEnabled

public static boolean isLoggingEnabled()
Whether or not logging is enabled.

Returns:
a boolean saying whether or not logging is enabled