diff options
author | vlad <vlad@driver.xyz> | 2017-06-30 12:29:54 -0700 |
---|---|---|
committer | vlad <vlad@driver.xyz> | 2017-06-30 12:29:54 -0700 |
commit | a997aa6539d1f0af4ab4fc395ff2033335da312a (patch) | |
tree | 4f24529cd0beed94368caafdc0bdbb5677184851 /src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala | |
parent | 5832f63b84d7388441d1200f2442dc1e9de0225c (diff) | |
download | rest-query-a997aa6539d1f0af4ab4fc395ff2033335da312a.tar.gz rest-query-a997aa6539d1f0af4ab4fc395ff2033335da312a.tar.bz2 rest-query-a997aa6539d1f0af4ab4fc395ff2033335da312a.zip |
Latest PDS UI utils
Diffstat (limited to 'src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala')
-rw-r--r-- | src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala b/src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala deleted file mode 100644 index 41c83d5..0000000 --- a/src/main/scala/xyz/driver/pdsuicommon/TimeLogger.scala +++ /dev/null @@ -1,14 +0,0 @@ -package xyz.driver.pdsuicommon - -import java.time.{LocalDateTime, ZoneId} - -import xyz.driver.pdsuicommon.domain.{LongId, User} -import xyz.driver.pdsuicommon.logging._ - -object TimeLogger extends PhiLogging { - - def logTime(userId: LongId[User], label: String, obj: String): Unit = { - val now = LocalDateTime.now(ZoneId.of("Z")) - logger.info(phi"User id=$userId performed an action at ${Unsafe(label)}=$now with a ${Unsafe(obj)} ") - } -} |