This function writes a log text to the application standard error. It is best to use this function instead of custom made error/log reporting routines because it takes care of a lot of things. For example, if a message is below the default user desired log level, no message will be written to the standard error.
Pointer to a valid afc instance.
Log Level. It can be any of the following:
Just a message, nothing really important
Something that the user can be interested in view
A non serious error, just to let the user know
A real error
An unrecoverable error occurred. If AFC_TAG_LOG_EXIT_CRITICAL was set to TRUE, then the program will immediately quit.
Your own error code to be returned.
The name of the class raising the error.
The name of the function raising the error.
A textual description of the error being raised.
Additional string for the error being raised.