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:
parent
e83c908f5a
commit
3c14075169
1 changed files with 3 additions and 3 deletions
|
@ -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<String>) {
|
||||||
com.beust.kobalt.main(argv)
|
com.beust.kobalt.main(argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Main : BasePlugin(), KobaltLogger {
|
public class Main : BasePlugin() {
|
||||||
// ...
|
// ...
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue