Activity for displaying messages preceded by the simulation time and the name of the arrival.

log_(.trj, message, level = 0)

Arguments

.trj

the trajectory object.

message

the message to display, accepts either a string or a callable object (a function) which must return a string.

level

debugging level. The message will be printed if, and only if, the level provided is less or equal to the log_level defined in the simulation environment (see simmer).

Value

Returns the trajectory object.