• About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • Log function

    The Log function will write the message to the TV's server log.

    Syntax

    void __stdcall Log(
    __in ProtocolSession *psess,
    __in ListenSession *lsess,
    __in ClientSession *sess,
    __in void *mod,
    __in char *message,
    __in int type
    );

    Parameters

    psess [in]lsess [in]sess [in]mod [in]message [in]type [in]
    ValueMeaning
    LOG_MESSAGE
    0x1
    The message that is being logged is a status message.
    LOG_WARNING
    0x2
    The message that is being logged is a warning message.
    LOG_ERROR
    0x4
    The message that is being logged is a error message.

    Return value

    This function does not return a value.

    Requirements

    Should be exported by -
    Minimum supported API 1.02
    Header tvsserver_base.h