38: p_module_name IN VARCHAR2,
39: p_log_level IN NUMBER) IS
40:
41: BEGIN
42: IF ( p_log_level >= FND_LOG.G_CURRENT_RUNTIME_LEVEL )
43: THEN
44: FND_LOG.string(p_log_level,p_module_name, p_message);
45: END IF;
46:
40:
41: BEGIN
42: IF ( p_log_level >= FND_LOG.G_CURRENT_RUNTIME_LEVEL )
43: THEN
44: FND_LOG.string(p_log_level,p_module_name, p_message);
45: END IF;
46:
47: END debug;
48:
70: /* Also write to FND debug log if it is enabled */
71: IF pg_debug in ('Y','C')
72: THEN
73: /* Calls internal debug routine which directly calls
74: FND_LOG routine. This avoids ARP_STANDARD and the
75: odd 'AR_NO_ROW_SYSTEM_PARAMETERS' error. */
76: debug(p_message, p_process_name, FND_LOG.G_CURRENT_RUNTIME_LEVEL);
77: END IF;
78: END wf_debug;
72: THEN
73: /* Calls internal debug routine which directly calls
74: FND_LOG routine. This avoids ARP_STANDARD and the
75: odd 'AR_NO_ROW_SYSTEM_PARAMETERS' error. */
76: debug(p_message, p_process_name, FND_LOG.G_CURRENT_RUNTIME_LEVEL);
77: END IF;
78: END wf_debug;
79:
80: /*========================================================================