Skip to content

[common.vm] Improve VM-Write-Log#1249

Merged
sara-rn merged 1 commit intomandiant:mainfrom
Ana06:VM-Write-Log
Jan 22, 2025
Merged

[common.vm] Improve VM-Write-Log#1249
sara-rn merged 1 commit intomandiant:mainfrom
Ana06:VM-Write-Log

Conversation

@Ana06
Copy link
Member

@Ana06 Ana06 commented Jan 17, 2025

Improve console output of VM-Write-Log:

  • Use $message instead of $line as it makes the output difficult to read. This information is only useful in the file.
  • Use better colors.

Also remove unused levels (FATAL, DEBUG) and improve the function help message.

Example: idapro.vm before the change

image

Example: idapro.vm after the change

image

idapro.vm added in #1243

Related: #1244

Improve console output of VM-Write-Log:
- Use $message instead of $line as it makes the output difficult to
  read. This information is only useful in the file.
- Use better colors.

Also remove unused levels (`FATAL`, `DEBUG`) and improve the function
help message.
@Ana06 Ana06 added the 💎 enhancement It is working, but it could be better label Jan 17, 2025
@Ana06 Ana06 requested a review from sara-rn January 17, 2025 18:10
@Ana06 Ana06 self-assigned this Jan 17, 2025
Copy link
Contributor

@sara-rn sara-rn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested locally, works as expected

@sara-rn sara-rn merged commit 6bf6463 into mandiant:main Jan 22, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💎 enhancement It is working, but it could be better

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants