blob: 9a0fd0cf09c92f613ed39a5b34c9e5e026ea087f [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstra7ea4a032019-11-26 20:11:40 +01002 void log_error(string file, string err, int warn)
MG Mud User88f12472016-06-24 23:31:02 +02003
4DESCRIPTION
Zesstra7ea4a032019-11-26 20:11:40 +01005 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
12HISTORY
13 LDMud 3.2.8 added the 'warn' argument and the warnings in general.
MG Mud User88f12472016-06-24 23:31:02 +020014
15SEE ALSO
Zesstra7ea4a032019-11-26 20:11:40 +010016 runtime_error(M)