Skip to content

Commit

Permalink
Update LoggerImpl.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
DinoMarlir committed Sep 3, 2023
1 parent cdde634 commit 46ba835
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import com.github.ajalt.mordant.rendering.TextColors
import com.github.ajalt.mordant.rendering.TextStyles
import tech.marlonr.cloudsystem.manager.console.interfaces.ILogger

class LoggerImpl: ILogger {
private val prefix = "${TextStyles.bold("${TextColors.brightCyan("Droplet")}${TextColors.brightWhite("Cloud")}")} ${TextColors.gray("» ")}"
class LoggerImpl(
private val prefix: String = "${TextStyles.bold("${TextColors.brightCyan("Droplet")}${TextColors.brightWhite("Cloud")}")} ${TextColors.gray("» ")}"
): ILogger {

override fun getPrompt(): String {
return "${TextStyles.bold("${TextColors.brightRed("manager")}${TextColors.gray("@")}${TextColors.brightCyan("cloudsystem")}")} ${TextColors.gray("»")}"
Expand Down

0 comments on commit 46ba835

Please sign in to comment.