File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
src/main/kotlin/com/lambda/interaction/request/interacting Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,17 @@ package com.lambda.interaction.request.interacting
2020import com.lambda.interaction.construction.context.BuildContext
2121import com.lambda.interaction.construction.context.InteractionContext
2222import com.lambda.interaction.request.ActionInfo
23+ import com.lambda.interaction.request.LogContext
24+ import com.lambda.interaction.request.LogContext.Companion.buildLogContext
2325
2426data class InteractionInfo (
2527 override val context : InteractionContext ,
2628 override val pendingInteractionsList : MutableCollection <BuildContext >,
2729 private val config : InteractConfig
28- ) : ActionInfo, InteractConfig by config
30+ ) : ActionInfo, InteractConfig by config, LogContext {
31+ override fun toLogContext () =
32+ buildLogContext {
33+ text(" Interaction Info:" )
34+ pushTab()
35+ }
36+ }
You can’t perform that action at this time.
0 commit comments