1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 12:07:10 -07:00

Remove mentions of KobaltLogger.

This commit is contained in:
Cedric Beust 2015-10-14 21:24:23 -07:00
parent e83c908f5a
commit 3c14075169

View file

@ -183,11 +183,11 @@ fun lineCount(project: Project): TaskResult {
</pre> </pre>
<p> <p>
We create a task called <code>"lineCount"</code> in which we look for all files ending in ".kt" in all the source directories of the project. Finally, we display a count of files and lines at the end by using <code>KobaltLogger.log()</code>, which is obtained by extending the trait <code>KobaltLogger</code>: We create a task called <code>"lineCount"</code> in which we look for all files ending in ".kt" in all the source directories of the project. Finally, we display a count of files and lines at the end by using <code>log()</code>, which is automatically supplied by the Kobalt API:
</p> </p>
<pre> <pre>
public class Main : BasePlugin(), KobaltLogger { public class Main : BasePlugin() {
</pre> </pre>
<p> <p>
@ -258,7 +258,7 @@ fun main(argv: Array&lt;String&gt;) {
com.beust.kobalt.main(argv) com.beust.kobalt.main(argv)
} }
public class Main : BasePlugin(), KobaltLogger { public class Main : BasePlugin() {
// ... // ...
</pre> </pre>