Tool AddLogs: B4A / B4J / B4I - Automatic insertion of log statements

https://www.b4x.com/android/forum/threads/b4a-automatic-insertion-of-log-statements.47464/

upload_2014-12-5_12-41-42.png


It is not free but it costs a few dollars.
 

Attachments

  • AddLogs20_Setup.zip
    407.3 KB · Views: 244
Last edited:

LucaMs

Expert
Licensed User
Longtime User
No one has tested it?
Let me know if it works.
Maybe I could make it possible to customize the log messages.

Nessuno l'ha provato?
Fatemi sapere se funziona.
Forse potrei consentire di personalizzare i messaggi log.
 

RauchG

Active Member
Licensed User
Longtime User
Hello LucaMs,

I tested it a try. Actually a very good tool.

I have tested it with a app with German text. Unfortunately, all special characters are destroyed. Some new entries require parameters.

Maybe you can make improvements there.

greeting
RauchG
 

LucaMs

Expert
Licensed User
Longtime User
Hello LucaMs,

I tested it a try. Actually a very good tool.

I have tested it with a app with German text. Unfortunately, all special characters are destroyed. Some new entries require parameters.

Maybe you can make improvements there.

greeting
RauchG


Oohh thanks for the reply.

I feared the characters question.
https://www.b4x.com/android/forum/threads/net-file-readalltext-utf8encoding.46947/

If you read the thread you'll see that I thought that the problem was solved.
I'll try again ;)


I did not understand this:
Some new entries require parameters



Thanks for trying.
 

RauchG

Active Member
Licensed User
Longtime User
this line "modMyUtils.MyLog (TAB &" StringArgs () = "& StringArgs ())"
in debug: error "missing parameter"
 

RauchG

Active Member
Licensed User
Longtime User
this line "modMyUtils.MyLog (TAB &" dbFields () = "& dbFields ())"
in debug: error "missing parameter"
 

RauchG

Active Member
Licensed User
Longtime User
this line "modMyUtils.MyLog (TAB &" = "&)",
in debug: error "missing parameter"
 

RauchG

Active Member
Licensed User
Longtime User
this line "modMyUtils.MyLog (TAB &" Values () = "& Values ())"
in debug: error "missing parameter"
 

RauchG

Active Member
Licensed User
Longtime User
That is strange: please, check which routine and what kind of parameters it receives

is in 'DataBase class module
'Version .98 Beta - October 8th, 2012
'Author: Margret

In the Sub:
'Returns the system date as a string
Sub Date () As String
modMyUtils.MyLog ("Exec: db.Date")
modMyUtils.MyLog (TAB & "=" &)

Return DateTime.Date (DateTime.Now)
End Sub
 

LucaMs

Expert
Licensed User
Longtime User
Final consideration.

The development of this tool took me 12 hours, maybe more.

Even considering that I can be tired, slow and rusty with VB.Net,
I could develop it in 8 hours.

8 hours is a working day for which an employee could earn € 60 / € 80, maybe more.

Of course, this is not a required work by a boss. But this will earn me € 0 and apps, including the percentage for Google, taxes and costs for the movement of money, make you earn almost as much (except for rare cases).
 
Last edited:

RauchG

Active Member
Licensed User
Longtime User
Does not work.

modMyUtils.MyLog("Exec: Abbrechen.Loeschen")
'Undeclared Variable
 

Attachments

  • AddLogs1.2.1.0.PNG
    AddLogs1.2.1.0.PNG
    84.5 KB · Views: 194

RauchG

Active Member
Licensed User
Longtime User
The project is still in development and too big for here. I will send it to you on your e-mail address.
 
Top