You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.
import{Category,CategoryServiceFactory,CategoryConfiguration,LogLevel,CategoryLogFormat,CategoryLogMessage,MessageFormatUtils}from"typescript-logging";// Optionally change default settings, in this example set default logging to Info.// Without changing configuration, categories will log to Error.letcategoryConfig=newCategoryConfiguration(LogLevel.Info,undefined,newCategoryLogFormat(undefined,false,true));categoryConfig.formatterLogMessage=(msg: CategoryLogMessage)=>{returnMessageFormatUtils.renderDefaultMessage(msg,false)};CategoryServiceFactory.setDefaultConfiguration(categoryConfig);
This will ensure that the log message does not have a duplicate stack frame and a duplicate timestamp, which interferes with the sentry event grouping causing events to show up as distinct rather than grouped.
The text was updated successfully, but these errors were encountered:
The configuration in
config.ts
should be:This will ensure that the log message does not have a duplicate stack frame and a duplicate timestamp, which interferes with the sentry event grouping causing events to show up as distinct rather than grouped.
The text was updated successfully, but these errors were encountered: