public class

Logger

extends Object
java.lang.Object
   ↳ com.kinvey.java.Logger

Class Overview

This class is used statically throughout the library. It will delegate to an instance of a `KinveyLogger`, which does the actual log writing.

Summary

Nested Classes
interface Logger.KinveyLogger This interface defines the behaivor of a platform specific logger 
Public Constructors
Logger()
Public Methods
static void DEBUG(String message)
Log a debug message
static void ERROR(String message)
Log an error message
static void INFO(String message)
Log an info message
static void TRACE(String message)
Log a trace message
static void WARNING(String message)
log a warning message
Logger all()
static Logger configBuilder()
Logger debug()
Enable debug level logging
Logger error()
Enable error level logging
Logger info()
Enable info level logging
static void init(Logger.KinveyLogger log)
Initialize this Logger with an instance of a KinveyLogger, defaults to no logging at all.
Logger network()
Logger trace()
Enable trace level logging
Logger warning()
Enable warning level logging
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Logger ()

Public Methods

public static void DEBUG (String message)

Log a debug message

public static void ERROR (String message)

Log an error message

public static void INFO (String message)

Log an info message

public static void TRACE (String message)

Log a trace message

public static void WARNING (String message)

log a warning message

public Logger all ()

public static Logger configBuilder ()

public Logger debug ()

Enable debug level logging

Returns
  • the Logger

public Logger error ()

Enable error level logging

Returns
  • the Logger

public Logger info ()

Enable info level logging

Returns
  • the Logger

public static void init (Logger.KinveyLogger log)

Initialize this Logger with an instance of a KinveyLogger, defaults to no logging at all.

public Logger network ()

public Logger trace ()

Enable trace level logging

Returns
  • the Logger

public Logger warning ()

Enable warning level logging

Returns
  • the Logger