-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
I have the following in a lot of files:
Log.send(
new LogData(
this.baseData,
`${this.tryGetPingMatterLinkedToUser.name}.ts`,
userId,
Level.Warn,
`Dms client matter code: ${filedDocument.DmsClientMatterCode()} does not exist in Ping`
)
);
I want to replace all with logger.error(error)
.
I tried lots of different things, but I expected ruplacer 'Log\.send\((?s:.)*\);' 'logger.error(error)' -t ts
to work, but it does not. Any thoughts?
witling, jkwill87, adriankumpf, Mephistophiles, kyle-mccarthy and 4 more
Metadata
Metadata
Assignees
Labels
No labels