📄 rvstdiologlistener.c
字号:
#if (0)
************************************************************************
Filename:
Description:
************************************************************************
Copyright (c) 2001 RADVision Inc.
************************************************************************
NOTICE:
This document contains information that is proprietary to RADVision LTD.
No part of this publication may be reproduced in any form whatsoever
without written prior approval by RADVision LTD..
RADVision LTD. reserves the right to revise this publication and make
changes without obligation to notify any person of such revisions or
changes.
************************************************************************
************************************************************************
$Revision:$
$Date:$
$Author: S. Cipolli$
************************************************************************
#endif
#include "rvplatform.h"
#include "rvlog.h"
#include "rvstdiologlistener.h"
#if (RV_LOGMASK != RV_LOGMASK_NONE)
/*$
{function:
{name: rvStdioLogListenerConstruct}
{class: RvStdioLogListener}
{include: rvstdiologlistener.h}
{description:
{p: Constructs a Standard I/O Log Listener. RvStdioLogListener objects record Log Records to
to a Standard I/O stream.}
}
{proto: RvStdioLogListener* rvStdioLogListenerConstruct(RvStdioLogListener* l, RvLogMask m, FILE* fp);}
{params:
{param: {n: l} {d: A pointer to the stdio log listener.}}
{param: {n: m} {d: The log mask specifying the Log Levels of the Log Records to processed.}}
{param: {n: fp} {d: The file descriptor to which Log Records will be written.
A default file descriptor (usually stderr) is used if this parameter is NULL.}}
}
{returns: Returns a pointer to the object if successful, otherwise NULL.}
{see_also:
{n: RvLogMask}
}
}
$*/
#if defined(RV_IO_ANSI)
RvStdioLogListener* rvStdioLogListenerConstruct(RvStdioLogListener* l, RvLogMask m, FILE* fp) {
rvLogListenerConstruct(&l->listener, m, rvLogStdio, fp);
return l;
}
#else
#error RvStdioLogListener requires Standard I/O
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -