Library flags

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 (tick) Defines the level of logging provided.

logArea

long (tick) Defines the parts of the logs you can see. As default set this to 0xffff.

comLogConsole

int (tick)

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.