Home

Traffic Server Software Developers Kit

INKTextLogObjectDestroy

Destroys the custom log file created by INKTextLogObjectCreate.

Prototype

INKReturnCode INKTextLogObjectDestroy (INKTextLogObject the_object)

Arguments

INKTextLogObject the_object is the custom log file you want to destroy. You have to first create this object with INKTextLogObjectCreate.

Description

Destroys a log object (a plugin’s custom log file) and releases the memory allocated to it. Use this call if you're finished with the log.

Returns

INK_SUCCESS if the API is called successfully.

INK_ERROR if an error occurs while calling the API or if an argument is invalid.