Thread overview | |||||
---|---|---|---|---|---|
|
June 10, 2017 What is the best way to include this file from the runtime libraries? | ||||
---|---|---|---|---|
| ||||
Hi I am trying to hook up an app to log to /var/log through the rsyslog daemon and it seems I need this file https://github.com/dlang/druntime/blob/master/src/core/sys/posix/syslog.d but I am not sure what the correct way to include files from the runtime libs is. Right now I am just doing import core.sys.posix.syslog; and that works but I was hoping to get clarified on what is the best method for this is? ty |
June 10, 2017 Re: What is the best way to include this file from the runtime libraries? | ||||
---|---|---|---|---|
| ||||
Posted in reply to ulyssesdwolfe | On 10/06/2017 11:06 AM, ulyssesdwolfe wrote:
> Hi
> I am trying to hook up an app to log to /var/log through the rsyslog daemon and
> it seems I need this file
> https://github.com/dlang/druntime/blob/master/src/core/sys/posix/syslog.d
> but I am not sure what the correct way to include files from the runtime libs is. Right now I am just doing
>
> import core.sys.posix.syslog;
You found it.
|
June 10, 2017 Re: What is the best way to include this file from the runtime libraries? | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | On Saturday, 10 June 2017 at 10:07:54 UTC, rikki cattermole wrote:
> You found it.
Ok Thanks :)
|
Copyright © 1999-2021 by the D Language Foundation