MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | SYNOPSIS |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 2 | void log_error(string file, string err, int warn) |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 3 | |
| 4 | DESCRIPTION |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 5 | Announce a compiler-time error (warn == 0) or warning (warn != 0) |
| 6 | in the named file. |
| 7 | |
| 8 | Whenever the LPC compiler detects an error or issues a warning, |
| 9 | this function is called. It should at least log the error in a file, |
| 10 | and also announce it to the active user. |
| 11 | |
| 12 | HISTORY |
| 13 | LDMud 3.2.8 added the 'warn' argument and the warnings in general. |
MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 14 | |
| 15 | SEE ALSO |
Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 16 | runtime_error(M) |