79: IS
80: BEGIN
81: --
82: --dbms_output.put_line(' LOG: ' || mssg );
83: FND_FILE.put(which, mssg);
84: FND_FILE.NEW_LINE(which, 1);
85: --
86: -- If the output message and if debug flag is set then also write
87: -- to the log file
80: BEGIN
81: --
82: --dbms_output.put_line(' LOG: ' || mssg );
83: FND_FILE.put(which, mssg);
84: FND_FILE.NEW_LINE(which, 1);
85: --
86: -- If the output message and if debug flag is set then also write
87: -- to the log file
88: --
87: -- to the log file
88: --
89: If Which = 2 Then
90: If G_Debug Then
91: FND_FILE.put(1, mssg);
92: FND_FILE.NEW_LINE(1, 1);
93: End If;
94: End IF;
95: --
88: --
89: If Which = 2 Then
90: If G_Debug Then
91: FND_FILE.put(1, mssg);
92: FND_FILE.NEW_LINE(1, 1);
93: End If;
94: End IF;
95: --
96: END Write_Log;