Enumerations | Functions

Logging Functions

Enumerations

enum  HWAPI_LOG_LEVEL { HWLOG_DEBUG = 0, HWLOG_INFO = 1, HWLOG_WARN = 2, HWLOG_ERR = 3 }
 

Log level definitions

Log Levels definitions used by hwOutputLog.

More...

Functions

HWAPI HWAPI_RESULT hwOutputLog (HWSESSION hSession, HWAPI_LOG_LEVEL level, LPCTSTR message,...)
 Adds a log message to the Hex Workshop Output Window.

Enumeration Type Documentation

See also:
hwOutputLog
Enumerator:
HWLOG_DEBUG 

Debug Log Level; only useful to plug-in author

HWLOG_INFO 

Info Log Level; information useful but not critical for end users

HWLOG_WARN 

Warning Log Level; warning for end user

HWLOG_ERR 

Error Log Level; An error condition has occurred

Definition at line 1016 of file hwapi.h.


Function Documentation

HWAPI HWAPI_RESULT hwOutputLog ( HWSESSION  hSession,
HWAPI_LOG_LEVEL  level,
LPCTSTR  message,
  ... 
)
Parameters:
hSession[IN] Hex Workshop Plug-in session handle
level[IN] Log Level as defined by HWAPI_LOG_LEVEL
message[IN] Output text (CrLf not required)
Returns:
HWAPI_RESULT_SUCCESS on success, otherwise see hwapierr.h for error codes

Copyright © 2010 BreakPoint Software, Inc. All Right Reserved.
Generated on Sat Jan 1 2011 07:53:51 for Hex Workshop Plug-in API by doxygen 1.7.2