[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-703154-105":3,"detail-sidebar-cat-0-en-105":80,"doc-detail-703154-en":130,"doc-similar-703154":161},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":73,"head_meta":75,"extra_data":77,"updated_unix":79},105,"en","record-logger-developer-guide","Record Logger Developer Guide","","Record Logger Developer Guide describes a framework for logging record-level execution details in Salesforce Apex. It explains how bulk and multi-transaction processing can make debugging difficult, then shows how developers create log transactions and log objects, add messages via a Logger instance, and flush logs at the end. The guide covers record identifiers, optional tags (including the default “General”), message handling, and additional methods such as ForceFlush and auto-store controls.",{"@graph":14,"@context":72},[15,34,55],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/record-logger-developer-guide/703154/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/record-logger-developer-guide/703154.png","ImageObject",300,407,{"name":42,"@type":43},"PakDamar76","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-22","2026-11-13",true,{"@type":52,"interactionType":53,"userInteractionCount":33},"InteractionCounter",{"@type":54},"ViewAction",{"@type":56,"mainEntity":57},"FAQPage",[58,64,68],{"name":59,"@type":60,"acceptedAnswer":61},"What is the purpose of Record Logger in Salesforce development?","Question",{"text":62,"@type":63},"It provides a framework for developers to log record-level events in Apex, making it easier for admins and business users to verify system behavior and debug flows.","Answer",{"name":65,"@type":60,"acceptedAnswer":66},"How does the framework associate logs with records?",{"text":67,"@type":63},"A Log Transaction represents an execution transaction, while Log records hold multiple log messages tied to a specific Salesforce record using record identifiers.",{"name":69,"@type":60,"acceptedAnswer":70},"How do tags and messages work in the logging API?",{"text":71,"@type":63},"Tags are optional strings used to differentiate flows; if omitted, the framework assigns the default tag “General.” Messages are the content logged, provided alongside record identifiers (and optionally tags) through the log methods.","https://schema.org",{"og:url":32,"og:type":74,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":76,"canonical":32},"index,follow",{"doc_id":78,"site_id":7},703154,1794561726,{"code":4,"msg":81,"data":82},"success",[83,87,91,95,100,104,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":84,"show_sort_weight":85,"slug":86},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":88,"show_sort_weight":89,"slug":90},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":92,"show_sort_weight":93,"slug":94},"Exam",70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":102,"slug":103},6,50,"technology",{"id":105,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},7,"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":81,"data":131},{"doc_id":78,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":101,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":33,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":115,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":79,"read_time":143,"preview_page_count":33,"preview_urls":144},962090893057,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Record Logger Developer Guide  \nTable of Contents  \nContents  \nOverview ....................................................................................................................................................... 3  \nIntroduction .................................................................................................................................................. 4  \nCore Objects.................................................................................................................................................. 4  \nLog Transaction ......................................................................................................................................... 4  \nLog ............................................................................................................................................................. 4  \nLogger............................................................................................................................................................ 5  \nLogger Instance ......................................................................................................................................... 5  \nLog Method ............................................................................................................................................... 5  \nRecord Identifier ................................................................................................................................... 6  \nTag ......................................................................................................................................................... 6  \nMessage ................................................................................................................................................ 6  \nFlush Method ............................................................................................................................................ 6  \nOther Methods.............................................................................................................................................. 7  \nForceFlush method ................................................................................................................................... 7  \nDisableAutoStore method ........................................................................................................................ 7  \nEnableAutoStore method ......................................................................................................................... 7  \nUnder the hood............................................................................................................................................. 8  \nOverview  \nHandling multiple records in bulk is an integral part of the development using Salesforce platform. Salesforce provides extensive logging capability for the developer to log the events on a transaction, but when processing multiple records in a transaction or when processing the record data across multiple transactions, it becomes very challenging to check a flow happened on a record.  \nWith Record Logger App, we are providing a framework for the developers to log on the record. This framework can be used to provide visibility of the functional logic path the system enforceson the record to users. This app can be handy in Field debugging.  \nIntroduction  \nRecord Logger application provides a framework for developers to log in Apex code. It helps the admin and business users to check whether the system is working as expected with a click of a button. This document will go through the features of this application, and the steps admin must follow to bring the most out of the application.  \nCore Objects  \nRecord Logger application revolves around following concepts.  \n● Log Transaction  \n● Log  \nLog Transaction  \nLog Transaction object represents a transaction in execution. For every transaction that involve","cbCaidaQU8j9Dl8W","https://ap.wps.com/l/cbCaidaQU8j9Dl8W","pdf",697306,"English","# Overview\n# Introduction\n# Core Objects\n## Log Transaction\n## Log\n## Logger\n## Logger Instance\n## Log Method\n## Record Identifier\n## Tag\n## Message\n## Flush Method\n## Other Methods\n### ForceFlush method\n### DisableAutoStore method\n### EnableAutoStore method","[{\"question\":\"What is the purpose of Record Logger in Salesforce development?\",\"answer\":\"It provides a framework for developers to log record-level events in Apex, making it easier for admins and business users to verify system behavior and debug flows.\"},{\"question\":\"How does the framework associate logs with records?\",\"answer\":\"A Log Transaction represents an execution transaction, while Log records hold multiple log messages tied to a specific Salesforce record using record identifiers.\"},{\"question\":\"How do tags and messages work in the logging API?\",\"answer\":\"Tags are optional strings used to differentiate flows; if omitted, the framework assigns the default tag “General.” Messages are the content logged, provided alongside record identifiers (and optionally tags) through the log methods.\"}]","Record Logger Developer Guide | PDF",23,[145,149,153,157],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/8421598d563022b66883f648a0afd628.webp",983,1272,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/4a5b33aafc498ab560db0856a1f2398e.webp",982,1270,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/78292efa7cb16202751aca4302590906.webp",981,1269,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-13/9336e4c147c0b6a5fd25f5bcc920ea4e.webp",980,1268,{"list":162,"token":11},[163,169,176,182,189,194,200,207,214,220],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":33,"category_name":29,"create_tm":168},703152,"Apex Tutorial - Salesforce Apex Programming Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013420991/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=%2F5dx4nIn6gXyYzj3t1R2dbkv7cc%3D","apex-tutorial-salesforce-apex-programming-basics",1794561718,{"doc_id":170,"doc_title":171,"file_type":137,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":29,"create_tm":175},656406,"Apex Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975308709/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=f5BclvKtfW0r6u4gYDjefNf2pJw%3D","apex-developer-guide-version-680-winter-27",22,1792968277,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":105,"category_name":29,"create_tm":181},681827,"Platform Events Developer Guide - Version 68 - Developer guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999226531/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=FlbTCCVjptRU0mgPlO%2FnC0x5tXc%3D","platform-events-developer-guide-version-68-developer-guide",1793954888,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},673477,"Salesforce DX Developer Guide - Version 68.0 - Release notes and setup overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990884811/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=K4DEM4tVnmORu2h6urMET%2FTfwlQ%3D","salesforce-dx-developer-guide-version-680-release-notes-and-setup-overview",13,1793644474,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":110,"category_name":29,"create_tm":168},703151,"Salesforce Maps Apex Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013420978/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=I%2B0uJmv%2FDrgywDRT6ooEX61rrSc%3D","salesforce-maps-apex-developer-guide-version-680-winter-27",{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":30,"category_name":29,"create_tm":199},703155,"Salesforce Knowledge Developer Guide - Chapter 1 Developing with Salesforce Knowledge","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013421037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=W6Tx5RjlNXe%2BYEXI98jZ%2B%2BxFZQk%3D","salesforce-knowledge-developer-guide-chapter-1-developing-with-salesforce-knowledge",1794561727,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":29,"create_tm":206},657022,"Salesforce Feedback Management Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974810294/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=aAoAExnCXZ9x8RMjvS%2BE94rd8dM%3D","salesforce-feedback-management-developer-guide-version-680-winter-27",16,1792972612,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},84884,"Agents That Teach: Designing Incidental Learning Back into AI-Assisted Software Development","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809215577/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=F5xidOcgj%2B2MKHzNrJRxHLM7Dak%3D","agents-that-teach-designing-incidental-learning-back-into-ai-assisted-software-development",39,1784199011,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":22,"category_name":29,"create_tm":219},760853,"Financial Services Cloud Developer Guide - Salesforce Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044587971/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=JCwTKPnxMK90pMgmItp8wDROcDg%3D","financial-services-cloud-developer-guide-salesforce-winter-27",1795918305,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":105,"category_name":29,"create_tm":225},701506,"FortiAnalyzer 7.6.x Cloud Deployment Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012381621/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=VKBXsAIH6Tnpydr%2B%2BXppy31RIJo%3D","fortianalyzer-76x-cloud-deployment-guide",1794532193]