Nexi Logger - Speed up you Analyzer scripts debugging

The development of software, mobile applications and Internet services is one of the activities of Intuineo which leads us to use different development environments and languages ​​depending on the specifics of each project or the needs of our customers.

Like anyone who writes code or scripts, we are very familiar with that moment when you start executing your code… which doesn’t quite work as expected!

The answer to the famous question « why does it not work? » is not always obvious and this is why development environments generally integrate two types of tools to shed some light on the curious behavior of our code:

 

  • Debuggers that allow step-by-step execution of code and display the content of variables and other data in memory at a time T.
  • Loggers that allow you to continuously display a trace of the information you want to study (content of variables, information on procedure calls, assertions, etc.).

These two tools have a complementary use and Arbutus Analyzer integrates a debugger which you can use in step by step mode [F6] as well as a command to display information via the command [DISPLAY].

However, we wanted to provide an alternative by offering an external logger.

o

INSTALLATION

Nexi Logger is a portable application that does not require installation. Unzip the zip file and then simply copy the Nexilogger.exe file to a folder for which you have execute permissions.

HOW TO USE IT

Nexi Logger is called from the command line. The parameters shown in the left column can be used:

-b[begin]

Indicates the start of a procedure and displays the start date and time

-e[end]

Indicates the end of a procedure and displays the end date and time as well as the time elapsed since the last call to [begin]

-c[comment]

Add a comment

-w[warning]

Add a warning

-wt[warning time]

Add a warning with the current date and time

-cl[clear]

Clear the current log screen

 

Script example for Arbutus Analyzer

COMMENT: DATA LOGGER DEMO BY INTUINEO  SET ECHO OFF
DELETE ALL OK  v_logger = "c:nexilogger.exe"
v_counter = 0
v_log = BLANKS(255)  RUN ASYNC %v_logger% "-cl"
RUN ASYNC %v_logger% "-c DATA LOGGER DEMO"
RUN ASYNC %v_logger% "-c Use '-b' to log a procedure start"
RUN ASYNC %v_logger% "-c Use '-e' to log a procedure stop and ellapsed time"
RUN ASYNC %v_logger% "-c Use '-c' to log a comment"
RUN ASYNC %v_logger% "-c Use '-w' to log a warning"
RUN ASYNC %v_logger% "-c Use '-wt' to log a warning + current date and time"
RUN ASYNC %v_logger% "-c Use '-cl' to clear the log"
RUN ASYNC %v_logger% ""  RUN ASYNC %v_logger% "-b CALL_MY_PROC"
DO .CALL_MY_PROC WHILE v_counter < 20
RUN ASYNC %v_logger% "-e CALL_MY_PROC"  COMMENT: YOU CAN ALSO CALL THE LOGGER USING "DO"
v_log = ""
DO .LOG
v_log = "-w This is a warning example"
DO .LOG
v_log = "-wt This is a warning example including the current date and time"
DO .LOG
RETURN  PROCEDURE LOG
 RUN ASYNC %v_logger% "%v_log%"
RETURN  PROCEDURE CALL_MY_PROC
 v_counter = v_counter + 1
 v_log = "Message # " + STRING(v_counter; 4)
 DO .LOG
RETURN

Script exemple for Windows batch

REM NEXI LOGGER EXAMPLE - WINDOWS BATCH FILE
cd "C:"
C:
Nexilogger.exe "-c test comment"
Nexilogger.exe "-b test procedure start"
Nexilogger.exe "-e test procedure end"
Nexilogger.exe "-w test warning"
pause

SECURITY

Nexilogger.exe is digitally signed by Intuineo sas. Each update is scrupulously scanned with an antivirus, however we recommend that you always check your downloads before installing on your system.

 

Nexilogger-0.10_x86_32.zip SHA256 checksum:

0A7634AF16B1385AE3766FF579CD28F3C0EC319BAA384F8690F9E6217C3C4A32

 

[ Validated and verified by VirusTotal ]

Can I use Nexi Logger from other programs?

Yes, Nexi Logger can be used from the command line, from a * .bat file, powershell * .ps *, ACL Analytics via the « EXECUTE ASYNC » command or from any other application that can use the command line.

Is Nexi Logger free of charge?

Yes Nexi Logger is free odf charge and licensed under « Intuineo Creative ».
We just hope it will help you in your daily work smile

I am still using Windows 7, can I use Nexi Logger?
Yes, Nexi Logger is an application that works under Windows 7 to 10+
Are you going to offer other applications that can be used from Arbutus Analyzer?

We have several projects under study that we will be happy to share with you on our LinkedIn feed.

Do not hesitate to tell us about your needs!

Private File - Access Forbidden

Do you like Nexi Logger ?

Like, comment and subscribe to Intuineo :)