Skip to content

Commit

Permalink
chore: clean up docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kmruiz committed May 8, 2024
1 parent a1a37d6 commit 0d68e29
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
5 changes: 1 addition & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# Changelog

MongoDB Plugin that does a lot of features. This is markdown.
MongoDB plugin for IntelliJ IDEA.

## [Unreleased]

### Added

- Something Added
- New Feature :happy:

### Changed

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion packages/jetbrains-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ changelog {
headerParserRegex.set("""(\d+\.\d+.\d+)""".toRegex())
introduction.set(
"""
MongoDB Plugin that does a lot of features. This is markdown.
MongoDB plugin for IntelliJ IDEA.
""".trimIndent()
)
itemPrefix.set("-")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ internal class LogMessageBuilder(private val gson: Gson, message: String) {
/**
* This class will be injected in probes to build log messages. Usually like:
* ```kt
* @Service
* class MyProbe(private val logMessage: LogMessage?) {
* @Service(Service.Level.PROJECT)
* class MyProbe(private val project: Project) {
* ...
* fun somethingProbed() {
* val logMessage = project.getService(LogMessage::class.java)
* log.info(logMessage.message("My message").put("someOtherProp", 25).build())
* }
* ...
* fun somethingProbed() {
* log.info(logMessage?.message("My message").put("someOtherProp", 25).build())
* }
* ```
*
Expand Down

0 comments on commit 0d68e29

Please sign in to comment.