Package io.getstream.log
Class TaggedLogger
-
- All Implemented Interfaces:
public final class TaggedLoggerRepresents a tagged logger.
-
-
Constructor Summary
Constructors Constructor Description TaggedLogger(String tag, StreamLogger delegate, IsLoggableValidator validator)
-
Method Summary
Modifier and Type Method Description final Unite(Throwable throwable, Function0<String> message)Send a ERROR log message. final Unite(Function0<String> message)Send a ERROR log message. final Unitw(Function0<String> message)Send a WARN log message. final Uniti(Function0<String> message)Send a INFO log message. final Unitd(Function0<String> message)Send a DEBUG log message. final Unitv(Function0<String> message)Send a VERBOSE log message. -
-
Constructor Detail
-
TaggedLogger
TaggedLogger(String tag, StreamLogger delegate, IsLoggableValidator validator)
-
-
Method Detail
-
e
final Unit e(Throwable throwable, Function0<String> message)
Send a ERROR log message.
- Parameters:
throwable- An exception to log.message- The function returning a message you would like logged.
-
e
final Unit e(Function0<String> message)
Send a ERROR log message.
- Parameters:
message- The function returning a message you would like logged.
-
w
final Unit w(Function0<String> message)
Send a WARN log message.
- Parameters:
message- The function returning a message you would like logged.
-
i
final Unit i(Function0<String> message)
Send a INFO log message.
- Parameters:
message- The function returning a message you would like logged.
-
d
final Unit d(Function0<String> message)
Send a DEBUG log message.
- Parameters:
message- The function returning a message you would like logged.
-
-
-
-