UploadPackLogger
public class UploadPackLoggerChain extends Object implements UploadPackLogger
UploadPackLogger
that delegates to a list of other loggers.
loggers are run in the order passed to the constructor.
NULL
Modifier and Type | Method | Description |
---|---|---|
static UploadPackLogger |
newChain(List<? extends UploadPackLogger> loggers) |
Create a new logger chaining the given loggers together.
|
void |
onPackStatistics(PackWriter.Statistics stats) |
Notice to the logger after a pack has been sent.
|
public static UploadPackLogger newChain(List<? extends UploadPackLogger> loggers)
loggers
- loggers to execute, in order.public void onPackStatistics(PackWriter.Statistics stats)
UploadPackLogger
onPackStatistics
in interface UploadPackLogger
stats
- the statistics after sending a pack to the client.Copyright © 2018. All rights reserved.