QtlMovie 1.12 (A specialized FFmpeg front-end)
QtlLogger Class Referenceabstract

Interface class for a simple message logger. More...

Inheritance diagram for QtlLogger:
QtlMovieAction QtlNullLogger QtlPlainTextLogger QtlStdoutLogger QtlMovieCleanupSubtitles QtlMovieConvertSubStationAlpha QtlMovieDeleteAction QtlMovieDvdExtractionSession QtlMovieJob QtlMovieProcess QtlMovieTsDemux QtlMovieCcExtractorProcess QtlMovieClosedCaptionsSearch QtlMovieDvdAuthorProcess QtlMovieFFmpegProcess QtlMovieGrowisofsProcess QtlMovieMkisofsProcess QtlMovieTeletextExtract QtlMovieTeletextSearch

Public Member Functions

virtual void debug (const QString &line, const QColor &color=QColor())=0
 Log a line of debug text. More...
 
virtual void line (const QString &line, const QColor &color=QColor())=0
 Log a line of text. More...
 
virtual void text (const QString &text)=0
 Log text. More...
 

Detailed Description

Interface class for a simple message logger.

Member Function Documentation

◆ text()

virtual void QtlLogger::text ( const QString &  text)
pure virtual

Log text.

Parameters
[in]textText to log.

Implemented in QtlMovieAction, QtlPlainTextLogger, QtlStdoutLogger, and QtlNullLogger.

◆ line()

virtual void QtlLogger::line ( const QString &  line,
const QColor &  color = QColor() 
)
pure virtual

Log a line of text.

Parameters
[in]lineLine to log. No need to contain a trailing new-line character.
[in]colorWhen a valid color is passed, try to display the text in this color.

Implemented in QtlMovieAction, QtlStdoutLogger, QtlPlainTextLogger, and QtlNullLogger.

◆ debug()

virtual void QtlLogger::debug ( const QString &  line,
const QColor &  color = QColor() 
)
pure virtual

Log a line of debug text.

Parameters
[in]lineLine to log. No need to contain a trailing new-line character.
[in]colorWhen a valid color is passed, try to display the text in this color.

Implemented in QtlMovieAction, QtlStdoutLogger, QtlPlainTextLogger, and QtlNullLogger.


The documentation for this class was generated from the following file: