Logger (Class)

In: rtex.rb
Parent: Object

Collect messages, condense them and report them. There are two output routines: File (complete) and stdout.

Methods

add   add   add_file   add_file   add_list   add_list   create   error   error   fileInclude=   fileInclude=   level   level=   level=   line   new   nextrun   nextrun   save   set_level   stdoutInclude=   texrun   texrun  

Attributes

level  [R] 

Public Class methods

This class is a singleton

Public Instance methods

Add a comment, if the level requires it.

Add a complete File to the log (e.g. .log-File)

There are different levels of informations:

  • 0 No information at all
  • 1 Tool-Error + Summary information from TeX ( run X, X pages, X errors, x Warnings, y Overfull, y Underfulls)
  • 2 Level 1 + Summary information from tools
  • 3 Level 2 + Executed steps + Statistics + Errors
  • 4 Level 3 + Warnings
  • 5 Level 4 + hints from process
  • 6 Level 5 + detailed hints from process
  • 9 Everything

All levels are reported in the Log-File (including log-Files etc.)

Each line starts with the number of texrun and the tool)

Increase the tex-run counter

[Validate]