Roman Elizarov | f16fd27 | 2017-02-07 11:26:00 +0300 | [diff] [blame] | 1 | /* |
Roman Elizarov | 1f74a2d | 2018-06-29 19:19:45 +0300 | [diff] [blame^] | 2 | * Copyright 2016-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license. |
Roman Elizarov | f16fd27 | 2017-02-07 11:26:00 +0300 | [diff] [blame] | 3 | */ |
| 4 | |
Roman Elizarov | 3d9fb68 | 2017-01-23 21:02:43 +0300 | [diff] [blame] | 5 | package examples |
| 6 | |
Roman Elizarov | 49ebab9 | 2017-01-24 12:20:06 +0300 | [diff] [blame] | 7 | import java.text.SimpleDateFormat |
| 8 | import java.util.* |
Roman Elizarov | 3d9fb68 | 2017-01-23 21:02:43 +0300 | [diff] [blame] | 9 | |
Roman Elizarov | b533112 | 2017-02-08 16:33:07 +0300 | [diff] [blame] | 10 | fun log(msg: String) = println("${SimpleDateFormat("yyyyMMdd-HHmmss.sss").format(Date())} [${Thread.currentThread().name}] $msg") |