mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better logging of actually downloaded files.
This commit is contained in:
parent
e51664edea
commit
bb495ad054
1 changed files with 4 additions and 2 deletions
|
@ -47,11 +47,13 @@ class ConsoleRepositoryListener @JvmOverloads constructor(out: PrintStream? = nu
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun artifactDownloading(event: RepositoryEvent?) {
|
override fun artifactDownloading(event: RepositoryEvent?) {
|
||||||
log(1, "Downloading artifact " + event!!.artifact + " from " + event.repository)
|
log(LOG_LEVEL, "Downloading artifact " + event!!.artifact + " from " + event.repository)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun artifactDownloaded(event: RepositoryEvent?) {
|
override fun artifactDownloaded(event: RepositoryEvent?) {
|
||||||
log(LOG_LEVEL, "Downloaded artifact " + event!!.artifact + " from " + event.repository)
|
if (event?.file != null) {
|
||||||
|
log(1, "Downloaded artifact " + event!!.artifact + " from " + event.repository)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun artifactResolving(event: RepositoryEvent?) {
|
override fun artifactResolving(event: RepositoryEvent?) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue