{"title":"Library flags","category":"default","creationDate":1776961627,"content":"<p>Library Flags offer a level of control to the cash register and are useful for application development and debugging.<\/p>\n<h2 id=\"pos-object\">POS Object<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>POS<\/code><\/td>\n<td>POS object representing the cash register application.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"method\">Method<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>GetInitFlags<\/code><\/td>\n<td>GetInitFlags allows you to set flags through the COM. We provide this method because you cannot port ENUMs through the COM.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 id=\"parameters\">Parameters<\/h2>\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Type<\/th>\n<th>Required<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>logLevel<\/code><\/td>\n<td>String<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>Defines the level of logging provided.<\/td>\n<\/tr>\n<tr>\n<td><code>logArea<\/code><\/td>\n<td>long<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>Defines the parts of the logs you can see. As default set this to 0xffff.<\/td>\n<\/tr>\n<tr>\n<td><code>comLogConsole<\/code><\/td>\n<td>int<\/td>\n<td><img title=\"-white_check_mark-\" alt=\"-white_check_mark-\" class=\"smileys\" src=\"\/user\/data\/smileys\/emoji\/white_check_mark.png\" \/><\/td>\n<td>Set to 1 to show the COM log console, set to 0 to hide it.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The possible values of <code>logLevel<\/code> are:<\/p>\n<table style=\"width:100%;\"><colgroup><col style=\"width: 9%\"><col style=\"width: 90%\"><\/colgroup><thead><tr class=\"header\"><th>Value<\/th><th>Description<\/th><\/tr><\/thead><tbody><tr><td>E<\/td><td>ERROR: Logs errors.<\/td><\/tr><tr><td>W<\/td><td>WARNING: Logs warnings.<\/td><\/tr><tr><td>I<\/td><td>INFO: Logs information\u00a0about program state, representing program events or behavior tracking.<\/td><\/tr><tr><td>D<\/td><td><p>DEBUG: Logs\u00a0detailed information about program state for debugging.<\/p><\/td><\/tr><\/tbody><\/table>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/initialize-the-library-com-extension\/library-flags","articleFields":{"id":"25143505","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/initialize-the-library-com-extension\/library-flags","title":"Library flags","content":"Library Flags offer a level of control to the cash register and are useful for application development and debugging.\nPOS Object\n\n\n\nName\nDescription\n\n\n\n\nPOS\nPOS object representing the cash register application.\n\n\n\nMethod\n\n\n\nName\nDescription\n\n\n\n\nGetInitFlags\nGetInitFlags allows you to set flags through the COM. We provide this method because you cannot port ENUMs through the COM.\n\n\n\nParameters\n\n\n\nName\nType\nRequired\nDescription\n\n\n\n\nlogLevel\nString\n\nDefines the level of logging provided.\n\n\nlogArea\nlong\n\nDefines the parts of the logs you can see. As default set this to 0xffff.\n\n\ncomLogConsole\nint\n\nSet to 1 to show the COM log console, set to 0 to hide it.\n\n\n\nThe possible values of logLevel are:\nValueDescriptionEERROR: Logs errors.WWARNING: Logs warnings.IINFO: Logs information\u00a0about program state, representing program events or behavior tracking.DDEBUG: Logs\u00a0detailed information about program state for debugging.","type":"page","locale":"pt","boost":13,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"COM extension for Windows integration","lvl5":"Key steps","lvl6":"Initialize the library","lvl7":"Library flags"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension","lvl6":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/initialize-the-library-com-extension","lvl7":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/com-extension-for-windows-integration\/key-steps-com-extension\/initialize-the-library-com-extension\/library-flags"},"levels":8,"category":"In-person payments","category_color":"green","tags":["Library","flags"]}}
