Settings

com.bilalfazlani.zioMaelstrom.Settings
case class Settings(logLevel: NodeLogLevel, logFormat: LogFormat, concurrency: Int)

Settings for the node

Value parameters

concurrency

Concurrency level for processing messages. Default is 1024. This means 1024 request messages (receive api) + 1024 response messages (ask api) = 2048 messages can be processed in parallel.

logFormat

You can choose between colored or plain logs. Default is colored

logLevel

You can log messages using logInfo or logError. Output logs can be filtered by setting this value to either Debug, Info, Warning, Error or Disabled. Default is Info

nodeInput

Input can be taken from stdin or a file. Maelstrom will feed to stdin but when debugging it is easier to use a file. Default is stdin

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product