Hi Stephanie,
On Monday 23 February 2009 20:14:49 Allison, Stephanie wrote:
>
> Is there a way to send a message to errlog (via errlogPrintf without
> arguments) by a user at the iocsh prompt? This can be done already at the
> Cexp prompt for RTEMS iocs - it would be nice to have similar functionality
> for soft iocs. I notice that errlogInit is registered at the iocsh but not
> errlogPrintf (or something that calls of errlogPrintf). Could this be
> added to base/src/libCom/iocsh/libComRegister.c? Otherwise, I'll add it to
> devIocStats.
I think that's a quite reasonable thing to add to Base. The only question I
have is should it call errlogPrintf() or errlogPrintfNoConsole()? My guess
is the latter since the command should be printed out as it is being
executed, but admittedly that won't include the expanded value of any macros
used in the message string. I guess it wouldn't be hard to provide both
options though.
Thoughts?
- Andrew
--
The best FOSS code is written to be read by other humans -- Harold Welte
- Replies:
- RE: errlogPrintf from iocsh for soft IOCs? Allison, Stephanie
- References:
- errlogPrintf from iocsh for soft IOCs? Allison, Stephanie
- Navigate by Date:
- Prev:
Re: Dynamic Listing of PVs Ralph Lange
- Next:
RE: errlogPrintf from iocsh for soft IOCs? Allison, Stephanie
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
errlogPrintf from iocsh for soft IOCs? Allison, Stephanie
- Next:
RE: errlogPrintf from iocsh for soft IOCs? Allison, Stephanie
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|