25 TOOLBAR = (1 << 3), // 8
27 LEX_PARSER = (1 << 4), // 16
29 LYXRC = (1 << 5), // 32
31 KBMAP = (1 << 6), // 64
33 LATEX = (1 << 7), // 128
35 MATHED = (1 << 8), // 256 // Alejandro, please use this.
37 FONT = (1 << 9), // 512
39 TCLASS = (1 << 10), // 1024
41 LYXVC = (1 << 11), // 2048
43 ROFF = (1 << 12), // 4096
45 LYXSERVER = (1 << 13), // 8192
47 ALL = (65535), // 2^16-1
54 void setDebugLevel(int level);
55 /// Not implemented yet.
56 void setLogLevel(int level);
57 /// Not implemented yet.
58 void setLogFile(string const & filename);
60 void debug(string const & msg, int level = INFO); // or ANY?
62 bool debugging(int level = INFO) // or ANY?
64 return (bool)(debuglevel & level);
67 void print(string const & msg);
76 /// The global instance of the Error class.