Project

General

Profile

Évolution #628

Système de Log

Added by johnlamericain over 13 years ago. Updated about 13 years ago.

Status:
Fermé
Priority:
Normal
Category:
Core
Target version:
Start date:
04/11/2010
Due date:
% Done:

100%

Estimated time:
10.00 h
Spent time:

Description

Création de logger qui sur la base de qDebug permet d'écrire des logs dans un fichier définit.
Dans un deuxième temps, création d'un widget permettant l'affichage de ces logs avec date et heure.

History

#1 Updated by yan over 13 years ago

  • Category set to Core

#2 Updated by johnlamericain over 13 years ago

  • % Done changed from 0 to 10

#3 Updated by johnlamericain over 13 years ago

  • % Done changed from 10 to 20

Avancement, réglage du problème d'emission du signal à partir de la méthode static messageHandler.
Prochaine étape, création des classes hériant de l'interface ILog et écriture des fonctions writeLog.

#4 Updated by johnlamericain over 13 years ago

  • % Done changed from 20 to 50

Mise en place du Logger avec QFile, Stdout, QTextBrowser et QListView
Non terminé...

#5 Updated by yan over 13 years ago

  • Target version set to Version 0.0.1

#6 Updated by johnlamericain over 13 years ago

  • % Done changed from 50 to 90
  • Creation MACRO
  • Handle UTF8
  • Add FILE and LINE to the MACRO
  • Add QMutexLocker for thread-safety
  • Add color in LogListWidget
  • Create getter and setter to custom the debug string.
Needs for Version 0.0.1
  • Add comments (documentation fr and en)
  • Possibility to change order of debug string elements
  • Look at QPlainTextEdit if interresting
  • Bug on cleanLog for FileLog

#7 Updated by johnlamericain over 13 years ago

  • % Done changed from 90 to 100

Features done :

  • Add comments (documentation fr and en)
  • Possibility to change order of debug string elements
  • Bug on cleanLog for FileLog

Ready for the first release !

#8 Updated by dourouc05 over 13 years ago

  • Status changed from Nouveau to Fermé

Also available in: Atom PDF