Change the log format of a logger based on its message context.
e.g., to set the log format for the destination accessor module of the SDK to local, simply call setLogFormat(logFormat.local, 'destination-accessor').
Parameters
format: Format
Format to set the logger to. Use logFormat to get the pre-defined log formats or use a custom log format.
OptionalmessageContextOrLogger: string|Logger
Message context of the logger to change the log level for or the logger itself.
Change the log format of a logger based on its message context. e.g., to set the log format for the destination accessor module of the SDK to
local, simply callsetLogFormat(logFormat.local, 'destination-accessor').