Report
Object Hierarchy:
Description:
public class Report
Namespace to centralize reporting warnings and errors.
Content:
Enums:
Constants:
Properties:
Delegates:
Static methods:
- public static void deprecated (SourceReference? source, string msg_format, ...)
- public static void error (SourceReference? source, string msg_format, ...)
- public static void experimental (SourceReference? source, string msg_format, ...)
- public static void notice (SourceReference? source, string msg_format, ...)
- public static void warning (SourceReference? source, string msg_format, ...)
Creation methods:
Methods:
- public virtual void depr (SourceReference? source, string message)
Reports the specified message as deprecation warning.
- public virtual void err (SourceReference? source, string message)
Reports the specified message as error.
- public int get_errors ()
Returns the total number of errors reported.
- public int get_warnings ()
Returns the total number of warnings reported.
- private bool is_atty (int fd)
- public virtual void note (SourceReference? source, string message)
Reports the specified message as note.
- private void print_highlighted_message (string message)
- private void print_message (SourceReference? source, string type, string type_color_start, string type_color_end, string message, bool do_report_source)
- private void report_source (SourceReference source)
Pretty-print the actual line of offending code if possible.
- public bool set_colors (string str, Colored colored_output = AUTO)
Set all colors by string
- public void set_verbose_errors (bool verbose)
Set the error verbosity.
- public virtual void warn (SourceReference? source, string message)
Reports the specified message as warning.
Fields: