1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00

Better logging of actually downloaded files.

This commit is contained in:
Cedric Beust 2016-04-10 20:49:48 -07:00
parent e51664edea
commit bb495ad054

View file

@ -47,11 +47,13 @@ class ConsoleRepositoryListener @JvmOverloads constructor(out: PrintStream? = nu
}
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?) {
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?) {