Unit 'Pas2jsLogger' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pastojs]

TPas2jsLogger

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: pas2jslogger.pp line 118

type TPas2jsLogger = class

protected

  function CreateTextWriter(); virtual;

public

  constructor Create;

  destructor Destroy; override;

  procedure RegisterMsg();

  function FindMsg();

  procedure Sort;

  procedure LogRaw();

  procedure LogLn;

  procedure LogPlain();

  procedure LogMsg();

  procedure Log();

  procedure LogMsgIgnoreFilter();

  procedure LogExceptionBackTrace();

  function MsgTypeToStr();

  function GetMsgText();

  function FormatMsg();

  function FormatJSONMsg();

  procedure OpenOutputFile;

  procedure Flush;

  procedure CloseOutputFile;

  procedure Reset;

  procedure ClearLastMsg;

  procedure OpenDebugLog;

  procedure CloseDebugLog;

  procedure DebugLogWriteLn(); overload;

  function GetEncodingCaption;

  class function Concatenate();

  property Encoding: string; [rw]

  property MsgCount: Integer; [r]

  property Msgs []: TPas2jsMessage; [r]

  property MsgNumberDisabled []: Boolean; [rw]

  property OnFormatPath: TPScannerFormatPathEvent; [rw]

  property OutputFilename: string; [rw]

  property ShowMsgNumbers: Boolean; [rw]

  property ShowMsgTypes: TMessageTypes; [rw]

  property WriteMsgToStdErr: Boolean; [rw]

  property Sorted: Boolean; [rw]

  property OnLog: TPas2jsLogEvent; [rw]

  property LastMsgType: TMessageType; [rw]

  property LastMsgFile: string; [rw]

  property LastMsgLine: Integer; [rw]

  property LastMsgCol: Integer; [rw]

  property LastMsgTxt: string; [rw]

  property LastMsgNumber: Integer; [rw]

  property DebugLog: TPas2jsStream; [rw]

  property LineLen: Integer; [rw]

  property Indent: Integer; [rw]

end;

Inheritance

TPas2jsLogger

|

TObject


Documentation generated on: 2023-03-18