121:
122:
123: /******************************************************************************
124: Name : msg
125: Purpose : Log a message, either using fnd_file, or hr_utility.trace
126: ******************************************************************************/
127:
128: PROCEDURE msg(p_text VARCHAR2)
129: IS
129: IS
130: --
131: BEGIN
132: -- Write to the concurrent request log
133: fnd_file.put_line(fnd_file.log, p_text);
134:
135: END msg;
136:
137: /******************************************************************************
135: END msg;
136:
137: /******************************************************************************
138: Name : dbg
139: Purpose : Log a message, either using fnd_file, or hr_utility.trace
140: if debuggging is enabled
141: ******************************************************************************/
142: PROCEDURE dbg(p_text VARCHAR2) IS
143:
145:
146: IF (g_debug_flag = 'Y') THEN
147: IF (g_concurrent_flag = 'Y') THEN
148: -- Write to the concurrent request log
149: fnd_file.put_line(fnd_file.log, p_text);
150: ELSE
151: -- Use HR trace
152: hr_utility.trace(p_text);
153: END IF;