• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using system log
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using system log


  • Subject: Re: Using system log
  • From: Emmanuel Lévy <email@hidden>
  • Date: Wed, 19 Apr 2017 23:23:21 +0200

For those who might wonder, Smile has a command to write to the system log files, look:

system log v : send a message to the Apple System Log
	system log [string] : the message
		[level integer] : a number in 0(Emergency)..7(Debug). Default: 3(Error)
		[facility string] : the facility (seen man page for syslog.conf). Default: "com.satimage.smile”

Best,
Emmanuel

> On 19 Apr 2017, at 22:54, Stockly, Ed <email@hidden> wrote:
>
> Does that work if run from an applet?
>
> Does it create an Log for the applet?
>
>
>
>
> From: AppleScript-Users <applescript-users-bounces+ed.stockly=email@hidden> on behalf of Shane Stanley <email@hidden>
> Date: Wednesday, April 19, 2017 at 4:53 AM
> To: AppleScript Digest <email@hidden>
> Subject: Re: Using system log
>
>>
>> Using ASObjC, it's simple:
>>
>> current application's NSLog("Some string here")
>>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >Using system log (From: Gil Dawson <email@hidden>)
 >Re: Using system log (From: Shane Stanley <email@hidden>)
 >Re: Using system log (From: Gil Dawson <email@hidden>)
 >Re: Using system log (From: Shane Stanley <email@hidden>)
 >Re: Using system log (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Using system log
  • Next by Date: Re: Using system log
  • Previous by thread: Re: Using system log
  • Next by thread: Re: Using system log
  • Index(es):
    • Date
    • Thread