DBA Data[Home] [Help]

PACKAGE: APPS.IBY_DEBUG_PUB

Source


1 PACKAGE IBY_DEBUG_PUB AUTHID CURRENT_USER AS
2 /* $Header: ibypdbgs.pls 115.6 2003/06/25 21:55:07 jleybovi noship $ */
3 
4     -- Default debug level
5     G_DEBUG_LEVEL CONSTANT NUMBER := FND_LOG.LEVEL_STATEMENT;
6 
7     -- Default debug module; set so that this pkg will be the
8     -- logging module when one is not explicitly passed
9     --
10     G_DEBUG_MODULE CONSTANT VARCHAR2(50) := 'iby.plsql.IBY_DEBUG_PUB.Add';
11 
12     -- unexpected error, critical failure
13     G_LEVEL_UNEXPECTED CONSTANT NUMBER := FND_LOG.LEVEL_UNEXPECTED;
14     -- caught/expected error
15     G_LEVEL_ERROR CONSTANT NUMBER := FND_LOG.LEVEL_ERROR;
16     -- expected exception
17     G_LEVEL_EXCEPTION CONSTANT NUMBER := FND_LOG.LEVEL_EXCEPTION;
18     -- non-error event
19     G_LEVEL_EVENT CONSTANT NUMBER := FND_LOG.LEVEL_EVENT;
20     -- procedure/function entry or exit
21     G_LEVEL_PROCEDURE CONSTANT NUMBER := FND_LOG.LEVEL_PROCEDURE;
22     -- lowest logging level; info
23     G_LEVEL_INFO CONSTANT NUMBER := FND_LOG.LEVEL_STATEMENT;
24 
25 
26 --
27 -- Name: Add
28 -- Purporse: Logs a debug message at the default level, using the
29 --           default module name.
30 --
31 PROCEDURE Add(debug_msg IN VARCHAR2);
32 
33 --
34 -- Name: Add
35 -- Purpose: Adds a debugging message
36 -- Args: debug_msg => message to print
37 --       debug_level => importance level of message; should be set
38 --                      to one of the constants in FND_LOG
39 --       module => IBY module that is adding the message; should be of
40 --                 the form 'iby.plsql.<pkg name>.<method>.<label>'
41 --
42 --
43 PROCEDURE Add(debug_msg IN VARCHAR2, debug_level IN NUMBER, module IN VARCHAR2);
44 
45 
46 END IBY_DEBUG_PUB;