-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add KDocs for DokkaLogger API #3265
Conversation
* Dokka's `progress` maps to: | ||
* | ||
* * CLI - shown by default | ||
* * Gradle - `info` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason to have different levels for Gradle vs Maven here?
* - Transforming pages | ||
* | ||
* These can be shown by default if there is no other way to track progress (like Gradle's progress bar), | ||
* and should be at the same level or one of the debug levels otherwise. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is about Dokka's LoggingLevel
? progress < debug?
* * Dokka is performing: $generationName | ||
* | ||
* Dokka's `warn` maps to: | ||
* * CLI - `warn` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does warn
mean for the console? Is shown by default
? What logging levels do we have for the console?
@@ -10,10 +10,99 @@ public interface DokkaLogger { | |||
public var warningsCount: Int | |||
public var errorsCount: Int | |||
|
|||
/** | |||
* This level is for showing significant execution steps. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should they be understandable for users?
I have added comments to the logging interface to explicitly explain new requirements for logging.