10548: IS
10549: BEGIN
10550: --
10551: --dbms_output.put_line(' LOG: ' || mssg );
10552: FND_FILE.put(which, mssg);
10553: FND_FILE.NEW_LINE(which, 1);
10554: --
10555: -- If the output message and if debug flag is set then also write
10556: -- to the log file
10549: BEGIN
10550: --
10551: --dbms_output.put_line(' LOG: ' || mssg );
10552: FND_FILE.put(which, mssg);
10553: FND_FILE.NEW_LINE(which, 1);
10554: --
10555: -- If the output message and if debug flag is set then also write
10556: -- to the log file
10557: --
10556: -- to the log file
10557: --
10558: If Which = 2 Then
10559: If G_Debug Then
10560: FND_FILE.put(1, mssg);
10561: FND_FILE.NEW_LINE(1, 1);
10562: End If;
10563: End IF;
10564: --
10557: --
10558: If Which = 2 Then
10559: If G_Debug Then
10560: FND_FILE.put(1, mssg);
10561: FND_FILE.NEW_LINE(1, 1);
10562: End If;
10563: End IF;
10564: --
10565: END Write_Log;