forked from johncfranco/reactive-logger
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
45 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package hu.numichi.reactive.logger; | ||
|
||
import reactor.core.scheduler.Scheduler; | ||
import reactor.core.scheduler.Schedulers; | ||
|
||
public class Values { | ||
private Values() {} | ||
|
||
public static final String DEFAULT_REACTOR_CONTEXT_MDC_KEY = "DEFAULT_REACTOR_CONTEXT_MDC_KEY"; | ||
public static final Scheduler DEFAULT_SCHEDULER = Schedulers.boundedElastic(); | ||
} |
2 changes: 1 addition & 1 deletion
2
...ive/logger/JacocoSkipGeneratedReport.java → ...nnotations/JacocoSkipGeneratedReport.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package hu.numichi.reactive.logger; | ||
package hu.numichi.reactive.logger.annotations; | ||
|
||
public @interface JacocoSkipGeneratedReport { | ||
} |
15 changes: 5 additions & 10 deletions
15
...va/hu/numichi/reactive/logger/Consts.java → ...i/reactive/logger/exception/Messages.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
package hu.numichi.reactive.logger; | ||
package hu.numichi.reactive.logger.exception; | ||
|
||
import reactor.core.scheduler.Scheduler; | ||
import reactor.core.scheduler.Schedulers; | ||
|
||
public class Consts { | ||
public class Messages { | ||
private Messages() { | ||
} | ||
public static final String KEY_NOT_NULL = "key must not be null"; | ||
public static final String VALUE_NOT_NULL = "value must not be null"; | ||
public static final String CTXK_NOT_NULL = "mdcContextKey must not be null"; | ||
public static final String CTXW_NOT_NULL = "contextView must not be null"; | ||
public static final String CTX_NOT_NULL = "context must not be null"; | ||
public static final String MDC_NOT_NULL = "mdc must not be null"; | ||
public static final String MAP_NOT_NULL = "map must not be null"; | ||
|
||
public static final String DEFAULT_REACTOR_CONTEXT_MDC_KEY = "DEFAULT_REACTOR_CONTEXT_MDC_KEY"; | ||
public static final Scheduler DEFAULT_SCHEDULER = Schedulers.boundedElastic(); | ||
|
||
private Consts() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/test/java/hu/numichi/reactive/logger/kotlin/MDCContextTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters