Skip to content
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

Merged
merged 3 commits into from
Dec 18, 2023
Merged

Conversation

d-ambatenne
Copy link
Contributor

I have added comments to the logging interface to explicitly explain new requirements for logging.

@IgnatBeresnev IgnatBeresnev added this to the Dokka 1.9.20 milestone Nov 3, 2023
@IgnatBeresnev IgnatBeresnev changed the title Ambatenne/fixes/issue 2944 Add KDocs for DokkaLogger API Nov 3, 2023
* Dokka's `progress` maps to:
*
* * CLI - shown by default
* * Gradle - `info`
Copy link
Collaborator

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.
Copy link
Member

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`
Copy link
Member

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.
Copy link
Member

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?

@d-ambatenne d-ambatenne merged commit 8899834 into master Dec 18, 2023
11 checks passed
@d-ambatenne d-ambatenne deleted the ambatenne/fixes/issue_2944 branch December 18, 2023 17:00
vmishenev pushed a commit that referenced this pull request Mar 20, 2024
Co-authored-by: Denis Ambatenne <denis.ambatenne@jetbrains.com>
Co-authored-by: IgnatBeresnev <ignat.beresnev@jetbrains.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants