--- title: "Library flags" url: "https://docs.adyen.com/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" source_url: "https://docs.adyen.com/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.md" canonical: "https://docs.adyen.com/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" last_modified: "2026-05-23T12:56:20+02:00" language: "en" --- # Library flags [View source](/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.md) Library Flags offer a level of control to the cash register and are useful for application development and debugging. ## POS Object | Name | Description | | ----- | ------------------------------------------------------ | | `POS` | POS object representing the cash register application. | ## Method | Name | Description | | -------------- | --------------------------------------------------------------------------------------------------------------------------- | | `GetInitFlags` | GetInitFlags allows you to set flags through the COM. We provide this method because you cannot port ENUMs through the COM. | ## Parameters | Name | Type | Required | Description | | --------------- | ------ | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------- | | `logLevel` | String | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Defines the level of logging provided. | | `logArea` | long | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Defines the parts of the logs you can see. As default set this to 0xffff. | | `comLogConsole` | int | ![-white\_check\_mark-](/user/data/smileys/emoji/white_check_mark.png "-white_check_mark-") | Set to 1 to show the COM log console, set to 0 to hide it. | The possible values of `logLevel` are: | Value | Description | | ----- | --------------------------------------------------------------------------------------------- | | E | ERROR: Logs errors. | | W | WARNING: Logs warnings. | | I | INFO: Logs informationĀ about program state, representing program events or behavior tracking. | | D | DEBUG: LogsĀ detailed information about program state for debugging. |