Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Programming
 PowerHome Messageboard : PowerHome Programming
Subject Topic: Event logging API? Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
device
Newbie
Newbie


Joined: May 26 2009
Online Status: Offline
Posts: 33
Posted: May 27 2009 at 00:18 | IP Logged Quote device

Is there an API to log messages to the event log - this is what I currently do

Sub Log(msg)
     Call ph.setglobal_s("__ EVENT LOG", CStr(""))
     Call ph.setglobal_s("__ EVENT LOG", CStr(msg))     
End Sub     

(awkward but it works).

D
Back to Top View device's Profile Search for other posts by device
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: May 27 2009 at 09:28 | IP Logged Quote TonyNo

There is the ph_usermessage function.
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
device
Newbie
Newbie


Joined: May 26 2009
Online Status: Offline
Posts: 33
Posted: May 27 2009 at 10:25 | IP Logged Quote device

Thanks, I had missed that.

D
Back to Top View device's Profile Search for other posts by device
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum