Skip navigation links
A B C D E F G H I L M N R S T V W 

A

adapter() - Static method in class com.launchdarkly.logging.LDSLF4J
Provides the LDLogAdapter implementation for sending log output to SLF4J.
awaitMessage(long) - Method in class com.launchdarkly.logging.LogCapture
Removes and returns a captured log message in FIFO order, waiting if necessary until one is available.
awaitMessage(LDLogLevel, long) - Method in class com.launchdarkly.logging.LogCapture
Removes and returns a captured log message of the specified level in FIFO order, waiting if necessary until one is available.

B

basic() - Static method in class com.launchdarkly.logging.Logs
A default implementation that writes to the standard error stream at LDLogLevel.INFO level.

C

capture() - Static method in class com.launchdarkly.logging.Logs
 
com.launchdarkly.logging - package com.launchdarkly.logging
A simple logging abstraction that is used by LaunchDarkly Java and Android code.

D

debug(Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.DEBUG level.
debug(String, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.DEBUG level with one parameter.
debug(String, Object, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.DEBUG level with two parameters.
debug(String, Object...) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.DEBUG level with any number of parameters.
defer(LogValues.StringProvider) - Static method in class com.launchdarkly.logging.LogValues
Converts any method or lambda returning a string into an object for calling it lazily.

E

equals(Object) - Method in class com.launchdarkly.logging.LogCapture.Message
 
error(Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.ERROR level.
error(String, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.ERROR level with one parameter.
error(String, Object, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.ERROR level with two parameters.
error(String, Object...) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.ERROR level with any number of parameters.
exceptionSummary(Throwable) - Static method in class com.launchdarkly.logging.LogValues
Returns an object whose toString() method returns only the class name and optional message of the exception.
exceptionTrace(Throwable) - Static method in class com.launchdarkly.logging.LogValues
Returns an object that lazily constructs an exception stacktrace.

F

format(String, Object) - Static method in class com.launchdarkly.logging.SimpleFormat
Substitutes a single parameter into a format string.
format(String, Object, Object) - Static method in class com.launchdarkly.logging.SimpleFormat
Substitutes two parameters into a format string.
format(String, Object...) - Static method in class com.launchdarkly.logging.SimpleFormat
Substitutes any number of parameters into a format string.

G

get() - Method in interface com.launchdarkly.logging.LogValues.StringProvider
Computes a string value.
getDefaultTimestampFormat() - Static method in class com.launchdarkly.logging.SimpleLogging
The default format for log timestamps.
getLevel() - Method in class com.launchdarkly.logging.LogCapture.Message
Returns the log level of the message.
getLoggerName() - Method in class com.launchdarkly.logging.LogCapture.Message
Returns the name of the logger that produced the message.
getMessages() - Method in class com.launchdarkly.logging.LogCapture
Returns all captured messages.
getMessageStrings() - Method in class com.launchdarkly.logging.LogCapture
Returns all captured messages converted to strings.
getText() - Method in class com.launchdarkly.logging.LogCapture.Message
Returns the text of the message.
getTimestamp() - Method in class com.launchdarkly.logging.LogCapture.Message
Returns the time the message was generated.

H

hashCode() - Method in class com.launchdarkly.logging.LogCapture.Message
 

I

info(Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.INFO level.
info(String, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.INFO level with one parameter.
info(String, Object, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.INFO level with two parameters.
info(String, Object...) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.INFO level with any number of parameters.
isEnabled(LDLogLevel) - Method in interface com.launchdarkly.logging.LDLogAdapter.Channel
Tests whether log output for a certain level is at least potentially visible.
isEnabled(LDLogLevel) - Method in class com.launchdarkly.logging.LDLogger
Tests whether log output for a certain level is at least potentially visible.

L

LDLogAdapter - Interface in com.launchdarkly.logging
An abstraction of some mechanism for producing log output.
LDLogAdapter.Channel - Interface in com.launchdarkly.logging
The underlying implementation object used by some LDLogger instance.
LDLogAdapter.IsConfiguredExternally - Interface in com.launchdarkly.logging
Marker interface indicating that this adapter is for an external framework that has its own configuration mechanism.
LDLogger - Class in com.launchdarkly.logging
A basic logger facade that delegates to an underlying output implementation.
LDLogLevel - Enum in com.launchdarkly.logging
Enumeration of the logging levels defined by the LaunchDarkly logging abstraction.
LDSLF4J - Class in com.launchdarkly.logging
An adapter for redirecting LaunchDarkly log output to SLF4J.
level(LDLogAdapter, LDLogLevel) - Static method in class com.launchdarkly.logging.Logs
Disables log output below the specified level, if allowed by the adapter.
log(LDLogLevel, Object) - Method in interface com.launchdarkly.logging.LDLogAdapter.Channel
Logs a simple message with no parameters.
log(LDLogLevel, String, Object) - Method in interface com.launchdarkly.logging.LDLogAdapter.Channel
Logs a message with a single parameter.
log(LDLogLevel, String, Object, Object) - Method in interface com.launchdarkly.logging.LDLogAdapter.Channel
Logs a message with two parameters.
log(LDLogLevel, String, Object...) - Method in interface com.launchdarkly.logging.LDLogAdapter.Channel
Logs a message with any number of parameters.
LogCapture - Class in com.launchdarkly.logging
A mechanism for capturing logger output in memory.
LogCapture.Message - Class in com.launchdarkly.logging
Information about a captured log message.
Logs - Class in com.launchdarkly.logging
Factory methods for the basic logging implementations in this package.
LogValues - Class in com.launchdarkly.logging
Helper methods for logging special variables.
LogValues.StringProvider - Interface in com.launchdarkly.logging

M

Message(Date, String, LDLogLevel, String) - Constructor for class com.launchdarkly.logging.LogCapture.Message
Creates an instance.

N

newChannel(String) - Method in interface com.launchdarkly.logging.LDLogAdapter
The logger calls this method to obtain a named output channel.
newChannel(String) - Method in class com.launchdarkly.logging.LogCapture
Called internally by the SDK.
newChannel(String) - Method in class com.launchdarkly.logging.SimpleLogging
 
none() - Static method in class com.launchdarkly.logging.LDLogger
Returns a logger instance that does nothing.
none() - Static method in class com.launchdarkly.logging.Logs
A stub that generates no log output.

R

requireMessage(long) - Method in class com.launchdarkly.logging.LogCapture
Same as LogCapture.awaitMessage(long), but throws an exception on timeout.
requireMessage(LDLogLevel, long) - Method in class com.launchdarkly.logging.LogCapture
Same as LogCapture.awaitMessage(LDLogLevel, long), but throws an exception on timeout.

S

SimpleFormat - Class in com.launchdarkly.logging
Defines a simple parameter-substitution format, identical to the format used by SLF4J.
SimpleLogging - Class in com.launchdarkly.logging
A basic logging implementation that formats output and sends it to an arbitrary destination.
SimpleLogging.LineWriter - Interface in com.launchdarkly.logging
Functional interface for a method or lambda that writes a line of text.
subLogger(String) - Method in class com.launchdarkly.logging.LDLogger
Returns a logger instance derived from this instance.

T

tag(String) - Method in class com.launchdarkly.logging.SimpleLogging
Specifies an optional tag string to distinguish this from the output of other loggers.
timestampFormat(DateFormat) - Method in class com.launchdarkly.logging.SimpleLogging
Specifies the format for date/timestamps.
toConsole() - Static method in class com.launchdarkly.logging.Logs
A simple logging implementation that writes to the standard error stream.
toJavaUtilLogging() - Static method in class com.launchdarkly.logging.Logs
A logging implementation that delegates to the java.util.logging API.
toMethod(SimpleLogging.LineWriter) - Static method in class com.launchdarkly.logging.Logs
A simple logging implementation that calls an interface method or lambda that you specify for each line of output.
toMultiple(LDLogAdapter...) - Static method in class com.launchdarkly.logging.Logs
A logging implementation that delegates to any number of destinations.
toStream(PrintStream) - Static method in class com.launchdarkly.logging.Logs
A simple logging implementation that writes to any PrintStream.
toString() - Method in class com.launchdarkly.logging.LogCapture.Message
Returns a basic string representation of the log item, in the format "[logger name] LEVEL: text".
toStringWithTimestamp() - Method in class com.launchdarkly.logging.LogCapture.Message
Equivalent to LogCapture.Message.toString(), but also prefixes the line with a millisecond timestamp.

V

valueOf(String) - Static method in enum com.launchdarkly.logging.LDLogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.launchdarkly.logging.LDLogLevel
Returns an array containing the constants of this enum type, in the order they are declared.

W

warn(Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.WARN level.
warn(String, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.WARN level with one parameters.
warn(String, Object, Object) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.WARN level with two parameters.
warn(String, Object...) - Method in class com.launchdarkly.logging.LDLogger
Writes a message at LDLogLevel.WARN level with any number of parameters.
withAdapter(LDLogAdapter, String) - Static method in class com.launchdarkly.logging.LDLogger
Returns a logger instance using the specified adapter.
writeLine(String) - Method in interface com.launchdarkly.logging.SimpleLogging.LineWriter
Writes a line of text that has already been formatted.
A B C D E F G H I L M N R S T V W 
Skip navigation links