Skip to content

Commit

Permalink
doc: added comments to explain why unused inspection is suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
testersen committed Apr 1, 2024
1 parent 07704e6 commit 54e991d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ package io.tnboot.logging.model
/**
* Represents an error.
*/
// Properties are marked as unused by IntelliJ because they are not
// used in the project. However, they are used by consumers of the
// module.
@Suppress("unused")
interface Error {
val className: String
val message: String?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ import java.time.Instant
* event. This is the data that is passed to Telenor Boot Logging
* themes when a log event is created.
*/
// Properties are marked as unused by IntelliJ because they are not
// used in the project. However, they are used by consumers of the
// module.
@Suppress("unused")
interface LogPayload {
val at: Instant
val level: LogLevel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ package io.tnboot.logging.model
/**
* Represents a single element in a stack trace.
*/
// Properties are marked as unused by IntelliJ because they are not
// used in the project. However, they are used by consumers of the
// module.
@Suppress("unused")
interface StackTraceElement {
val classLoaderName: String?
val clazz: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ package io.tnboot.logging.model
* Logging. A theme is responsible for rendering a log event into a
* string that can be written to a log file or console.
*/
// Methods are marked as unused by IntelliJ because they are not used
// in the project. However, they are used by consumers of the module.
@Suppress("unused")
interface Theme {
/**
* The name of the theme.
Expand Down

0 comments on commit 54e991d

Please sign in to comment.