UploadPackLoggerChain
public interface UploadPackLogger
UploadPack
.
Implementors of the interface are responsible for associating the current
thread to a particular connection, if they need to also include connection
information. One method is to use a ThreadLocal
to remember
the connection information before invoking UploadPack.
Modifier and Type | Field | Description |
---|---|---|
static UploadPackLogger |
NULL |
A simple no-op logger.
|
Modifier and Type | Method | Description |
---|---|---|
void |
onPackStatistics(PackWriter.Statistics stats) |
Notice to the logger after a pack has been sent.
|
static final UploadPackLogger NULL
void onPackStatistics(PackWriter.Statistics stats)
stats
- the statistics after sending a pack to the client.Copyright © 2018. All rights reserved.