8984: IS
8985: BEGIN
8986: --
8987: --dbms_output.put_line(' LOG: ' || mssg );
8988: FND_FILE.put(which, mssg);
8989: FND_FILE.NEW_LINE(which, 1);
8990: --
8991: -- If the output message and if debug flag is set then also write
8992: -- to the log file
8985: BEGIN
8986: --
8987: --dbms_output.put_line(' LOG: ' || mssg );
8988: FND_FILE.put(which, mssg);
8989: FND_FILE.NEW_LINE(which, 1);
8990: --
8991: -- If the output message and if debug flag is set then also write
8992: -- to the log file
8993: --
8992: -- to the log file
8993: --
8994: If Which = 2 Then
8995: If G_Debug Then
8996: FND_FILE.put(1, mssg);
8997: FND_FILE.NEW_LINE(1, 1);
8998: End If;
8999: End IF;
9000: --
8993: --
8994: If Which = 2 Then
8995: If G_Debug Then
8996: FND_FILE.put(1, mssg);
8997: FND_FILE.NEW_LINE(1, 1);
8998: End If;
8999: End IF;
9000: --
9001: END Write_Log;