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

Do you think that this tool will be useful to you?

  • Yes

    Votes: 0 0.0%
  • No

    Votes: 1 100.0%
  • Maybe

    Votes: 0 0.0%

  • Total voters
    1
  • Poll closed .

LucaMs

Expert
Licensed 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
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
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.
http://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.
 

LucaMs

Expert
Licensed 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

Can you try the version 1.1? Thanks
 

LucaMs

Expert
Licensed User
this line "modMyUtils.MyLog (TAB &" StringArgs () = "& StringArgs ())"
in debug: error "missing parameter"
Thanks, I need to check the parameter type :D

But then...? Should I write a log line for each element in StringArgs()? Uhm... maybe I could set it as optional.
 

RauchG

Active Member
Licensed 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
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

Thanks, I'll check it
 

LucaMs

Expert
Licensed 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:

LucaMs

Expert
Licensed User
Can you post the original routine source code?

Thanks for your help, @RauchG :)

[P.S. probably I have found the error in the code for maps; just another 30' of work :mad:]
 
Last edited:

LucaMs

Expert
Licensed User
I meant just the sub routine.

If it contains a parameter of type Map, I have corrected the error right now.

Thanks again


[P.S. We have something similar @RauchG: the little French nose :D]
 
Top