PrintingMode
tinyscalautils.text.PrintingMode
trait PrintingMode
Printing mode. Decides which of thread/time is shown and how.
For instance,
printf("(%d,%d)%n", x, y)
might produce output of the form: T1 at 09:15:49.525: (2,3)
where T1
is the name of the thread that called printf
.
Actual format is controlled by a printing mode. For instance:
import tinyscalautils.printing.{ println, threadTimeMode }
println("message")
might produce main at 17:29:50.623: message
, while:
import tinyscalautils.printing.{ println, threadMode }
println("message")
All printing modes in this package are stateless and thus safe to be shared among threads.
Attributes
- Since
-
1.0
- Source
- PrintingMode.scala
- Graph
-
- Supertypes
- Known subtypes
-
object silentModeobject standardModeobject threadModeobject threadTimeDemoModeobject threadTimeModeobject timeDemoModeobject timeMode
Members list
In this article