Skip to content

fix typos #91

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

Merged
merged 1 commit into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.