mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
This reverts commit ce507d9959
.
Reverting as the location is always the internal prelude function. So it's not really useful.
This commit is contained in:
parent
45f4c84a87
commit
02fff5d5c2
@ -34,9 +34,7 @@ import com.daml.scalautil.Statement.discard
|
||||
// TODO once the ContextualizedLogger is replaced with the NamedLogger and Speedy doesn't use its
|
||||
// own logger, we can remove this import
|
||||
trait EngineLogger {
|
||||
def add(message: String, optLocation: Option[com.daml.lf.data.Ref.Location])(implicit
|
||||
loggingContext: LoggingContext
|
||||
): Unit
|
||||
def add(message: String)(implicit loggingContext: LoggingContext): Unit
|
||||
}
|
||||
|
||||
object EngineLogger {
|
||||
@ -45,7 +43,7 @@ object EngineLogger {
|
||||
new TraceLog {
|
||||
override def add(message: String, optLocation: Option[com.daml.lf.data.Ref.Location])(
|
||||
implicit loggingContext: LoggingContext
|
||||
): Unit = value.add(message, optLocation)
|
||||
): Unit = value.add(message)
|
||||
override def iterator: Iterator[(String, Option[com.daml.lf.data.Ref.Location])] =
|
||||
Iterator.empty
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user