My Oracle Support Banner

vlog*** vs Traditional log*** Statements (Doc ID 2474796.1)

Last updated on JANUARY 10, 2020

Applies to:

Oracle Commerce Platform - Version 10.2 and later
Information in this document applies to any platform.

Goal

With vlog, is there is a performance overhead when the log statement is composed with method invocation results or dynamic arguments list?

For example:
1. vlogDebug("Dynamic message: " + messageClass.generateMessage(args));
2. vlogDebug("To: {0}; {1}; {2}", messageClass.getMessageReceiver(args), messageClass.GenerateMessage(args), messageClass.getSender(args));
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.