Data Fields List
|void(*||Log )(PP_Instance instance, PP_LogLevel level, struct PP_Var value)|
|void(*||LogWithSource )(PP_Instance instance, PP_LogLevel level, struct PP_Var source, struct PP_Var value)|
Data Fields Details
The name of the plugin issuing the log message will be automatically prepended to the message. The value may be any type of Var.
|void(* PPB_Console::LogWithSource)(PP_Instance instance, PP_LogLevel level, struct PP_Var source, struct PP_Var value)|
Logs a message to the console with the given source information rather than using the internal PPAPI plugin name.
The name must be a string var.
The regular log function will automatically prepend the name of your plugin to the message as the "source" of the message. Some plugins may wish to override this. For example, if your plugin is a Python interpreter, you would want log messages to contain the source .py file doing the log statement rather than have "python" show up in the console.
The documentation for this struct was generated from the following file: