Skip navigation links
A C D E F G H I J L N O P R S T V W 

A

AggregatedLogger - Class in net.dzikoysk.dynamiclogger.backend
Use various logger implementations at the same time.
AggregatedLogger(Collection<? extends Logger>) - Constructor for class net.dzikoysk.dynamiclogger.backend.AggregatedLogger
 
AggregatedLogger(Logger...) - Constructor for class net.dzikoysk.dynamiclogger.backend.AggregatedLogger
 
ALL - Static variable in class net.dzikoysk.dynamiclogger.Channel
Represents all logging level with positive priority.

C

Channel - Class in net.dzikoysk.dynamiclogger
Channel represents level of logging.
Channel(String, double, ChannelIntention) - Constructor for class net.dzikoysk.dynamiclogger.Channel
 
ChannelIntention - Enum in net.dzikoysk.dynamiclogger
Channel intention represents estimated purpose of the channel.
compareTo(Channel) - Method in class net.dzikoysk.dynamiclogger.Channel
 
contains(String) - Method in class net.dzikoysk.dynamiclogger.backend.InMemoryLogger
Check if one of the stored messages contain the given text

D

DEBUG - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
debug(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.DEBUG
DefaultLogger - Class in net.dzikoysk.dynamiclogger.backend
Abstract implementation of basic functionalities meant to be extended by a target implementation.
DefaultLogger(Channel) - Constructor for class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 

E

equals(Object) - Method in class net.dzikoysk.dynamiclogger.Channel
 
ERROR - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
error(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.ERROR channel
exception(Channel, Throwable) - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
exception(Throwable) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given exception to the Channel.ERROR channel
exception(Channel, Throwable) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given exception to the given channel

F

FATAL - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
fatal(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.FATAL channel
flush() - Method in class net.dzikoysk.dynamiclogger.utils.RedirectedOutputStream
 

G

getIntention() - Method in class net.dzikoysk.dynamiclogger.Channel
Get the estimated intention of channel
getLogger() - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
getLogger() - Method in interface net.dzikoysk.dynamiclogger.Journalist
Get stored logger
getMessages() - Method in class net.dzikoysk.dynamiclogger.backend.InMemoryLogger
Get all stored messages
getName() - Method in class net.dzikoysk.dynamiclogger.Channel
Get the name of channel
getPredefinedChannels() - Static method in class net.dzikoysk.dynamiclogger.Channel
Get predefined channels as set
getPriority() - Method in class net.dzikoysk.dynamiclogger.Channel
Get the priority of channel

H

hashCode() - Method in class net.dzikoysk.dynamiclogger.Channel
 

I

INFO - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
info(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.INFO
InMemoryLogger - Class in net.dzikoysk.dynamiclogger.backend
Stores all messages in memory as a queue and does not print any message directly
InMemoryLogger(Channel) - Constructor for class net.dzikoysk.dynamiclogger.backend.InMemoryLogger
 
InMemoryLogger() - Constructor for class net.dzikoysk.dynamiclogger.backend.InMemoryLogger
Uses Channel.INFO as a default threshold.
internalLog(Channel, String) - Method in class net.dzikoysk.dynamiclogger.backend.AggregatedLogger
 
internalLog(Channel, String) - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
Internal method used by DefaultLogger to send processed message to the final implementation.
internalLog(Channel, String) - Method in class net.dzikoysk.dynamiclogger.backend.InMemoryLogger
 
internalLog(Channel, String) - Method in class net.dzikoysk.dynamiclogger.backend.PrintStreamLogger
 

J

Journalist - Interface in net.dzikoysk.dynamiclogger
Represents logger container

L

log(Channel, String) - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
log(Channel, String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to the provided channel
Logger - Interface in net.dzikoysk.dynamiclogger
Proxy interface for dynamic logging handler

N

net.dzikoysk.dynamiclogger - package net.dzikoysk.dynamiclogger
 
net.dzikoysk.dynamiclogger.backend - package net.dzikoysk.dynamiclogger.backend
 
net.dzikoysk.dynamiclogger.utils - package net.dzikoysk.dynamiclogger.utils
 

O

of(String) - Static method in class net.dzikoysk.dynamiclogger.Channel
Find channel using its string representation.

P

PrintStreamLogger - Class in net.dzikoysk.dynamiclogger.backend
Uses System.in and System.err to log messages
PrintStreamLogger(PrintStream, PrintStream, Channel) - Constructor for class net.dzikoysk.dynamiclogger.backend.PrintStreamLogger
 
PrintStreamLogger(PrintStream, PrintStream) - Constructor for class net.dzikoysk.dynamiclogger.backend.PrintStreamLogger
Uses Channel.INFO as default threshold.

R

RedirectedOutputStream - Class in net.dzikoysk.dynamiclogger.utils
Redirect text delimited by new line separator to the provided message consumer
RedirectedOutputStream(Consumer<String>) - Constructor for class net.dzikoysk.dynamiclogger.utils.RedirectedOutputStream
Creates stream instance

S

setThreshold(Channel) - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
setThreshold(Channel) - Method in interface net.dzikoysk.dynamiclogger.Logger
Modify current threshold

T

threshold - Variable in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
toPrintStream(Channel) - Method in class net.dzikoysk.dynamiclogger.backend.DefaultLogger
 
toPrintStream(Channel) - Method in interface net.dzikoysk.dynamiclogger.Logger
Create PrintStream that will write to the current logger.
toPrintStream() - Method in class net.dzikoysk.dynamiclogger.utils.RedirectedOutputStream
Create PrintStream using this output stream
TRACE - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
trace(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.TRACE

V

valueOf(String) - Static method in enum net.dzikoysk.dynamiclogger.ChannelIntention
Returns the enum constant of this type with the specified name.
values() - Static method in enum net.dzikoysk.dynamiclogger.ChannelIntention
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARN - Static variable in class net.dzikoysk.dynamiclogger.Channel
 
warn(String) - Method in interface net.dzikoysk.dynamiclogger.Logger
Log the given message to Channel.WARN
write(int) - Method in class net.dzikoysk.dynamiclogger.utils.RedirectedOutputStream
 
A C D E F G H I J L N O P R S T V W 
Skip navigation links

Copyright © 2021. All rights reserved.