-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
12f4756
commit 6dac23d
Showing
43 changed files
with
514 additions
and
337 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
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
package uk.dansiviter.scd; | ||
|
||
import static uk.dansiviter.juli.annotations.Message.Level.ERROR; | ||
import static uk.dansiviter.juli.annotations.Message.Level.WARN; | ||
import static uk.dansiviter.jule.annotations.Message.Level.ERROR; | ||
import static uk.dansiviter.jule.annotations.Message.Level.WARN; | ||
|
||
import java.time.OffsetDateTime; | ||
import java.util.function.Supplier; | ||
|
||
import org.threeten.extra.PeriodDuration; | ||
|
||
import uk.dansiviter.juli.annotations.Log; | ||
import uk.dansiviter.juli.annotations.Message; | ||
import uk.dansiviter.jule.annotations.Log; | ||
import uk.dansiviter.jule.annotations.Message; | ||
|
||
@Log | ||
public interface ScdLog { | ||
@Message(value = "{0}", level = WARN) | ||
@Message(value = "%s", level = WARN) | ||
void clientError(Supplier<String> object); | ||
|
||
@Message(value = "{0}", level = ERROR) | ||
@Message(value = "%s", level = ERROR) | ||
void serverError(Supplier<String> object, Throwable ex); | ||
|
||
@Message("Querying window. [name={0},start={1},end={2},alignment={3}].") | ||
@Message("Querying window. [name=%s,start=%s,end=%s,alignment=%s].") | ||
void window(String name, OffsetDateTime start, OffsetDateTime end, PeriodDuration alignment); | ||
} |
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
Oops, something went wrong.