Class SimpleHealthLogger
- java.lang.Object
-
- io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
-
- io.github.mfvanek.pg.common.health.logger.SimpleHealthLogger
-
- All Implemented Interfaces:
HealthLogger
public class SimpleHealthLogger extends AbstractHealthLogger
-
-
Constructor Summary
Constructors Constructor Description SimpleHealthLogger(ConnectionCredentials credentials, HighAvailabilityPgConnectionFactory connectionFactory, DatabaseHealthFactory databaseHealthFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
writeToLog(LoggingKey key, int value)
-
Methods inherited from class io.github.mfvanek.pg.common.health.logger.AbstractHealthLogger
logAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.github.mfvanek.pg.common.health.logger.HealthLogger
logAll
-
-
-
-
Constructor Detail
-
SimpleHealthLogger
public SimpleHealthLogger(@Nonnull ConnectionCredentials credentials, @Nonnull HighAvailabilityPgConnectionFactory connectionFactory, @Nonnull DatabaseHealthFactory databaseHealthFactory)
-
-
Method Detail
-
writeToLog
protected java.lang.String writeToLog(@Nonnull LoggingKey key, int value)
- Specified by:
writeToLog
in classAbstractHealthLogger
-
-