Skip to content

Commit

Permalink
Merge pull request #91 from codeborne/fix/typos
Browse files Browse the repository at this point in the history
fix typos
  • Loading branch information
angryziber authored Nov 21, 2024
2 parents b92e151 + cbf8880 commit 5ef9e0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Klite builds are available from [jitpack](https://jitpack.io/#codeborne/klite),
implementation("com.github.codeborne.klite:klite-jackson:$kliteVersion")
implementation("com.github.codeborne.klite:klite-jdbc:$kliteVersion")
testImplementation("com.github.codeborne.klite:klite-jdbc-test:$kliteVersion")
...
// ...
}
```

Expand All @@ -119,7 +119,7 @@ Publish to `~/.m2/repository` by running `./gradlew publishToMavenLocal`

Then add `mavenLocal()` repository to your project and use Klite version of `master-SNAPSHOT`.

### Depenending on the Git repository (source) directly
### Depending on the Git repository (source) directly

If there is a problem with Jitpack, then it's possible to add the following to your `settings.gradle.kts`:

Expand All @@ -128,7 +128,7 @@ sourceControl {
gitRepository(java.net.URI("https://github.com/codeborne/klite.git")) {
producesModule("com.github.codeborne.klite:server")
producesModule("com.github.codeborne.klite:jdbc")
// list all subprojects you depend on in build.gradle.kts, use their unprefixed names, e.g. server, not klite-server
// list all subprojects you depend on in build.gradle.kts, use their un-prefixed names, e.g. server, not klite-server
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions slf4j/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ The following Config properties are supported:

If you want to redefine the logging format, extend [KliteLogger](src/KliteLogger.kt) and specify it's full class name as `LOGGER_CLASS`.

There are two non-default implemtations available:
There are two non-default implementations available:
* `klite.slf4j.StackTraceOptimizingLogger` - this one will omit some lower stack trace frames that are not very useful
* `klite.slf4j.StackTraceOptimizingJsonLogger` - this one will output exception and stack trace as a single-line json, friendly for log indexing services

Expand All @@ -21,4 +21,4 @@ When deploying as a 12-factor app, this is all you need - logging to standard ou
This module uses the slf4j 2.x ServiceLoader mechanism to provide a simple logger to slf4j.
This implementation is much lighter than `slf4j-simple.jar` and is easier to extend/configure.

If you want to use another (much bigger) backend (e.g. logback), then ensure that it supports slfj4 2.x ServiceLoader and that it is before this module on classpath.
If you want to use another (much bigger) backend (e.g. logback), then ensure that it supports slf4j 2.x ServiceLoader and that it is before this module on classpath.

0 comments on commit 5ef9e0d

Please sign in to comment.