iorlas / JT2

Jungle Timer for the LoL game. Second edition. First was on ansi C with dirty hacks. New edition uses D3D9Proxy dll and CPP with boost.
8 stars 5 forks source link

Rework logging #39

Open iorlas opened 13 years ago

iorlas commented 13 years ago

Damn, we need improved logging:

  1. Log levels
  2. Log levels control from INI config
  3. VA_ARGS parsing
  4. Table-oriented struct. Separate main parts using \t.
  5. Support multiple types of backend: OutputDebug, Textfile.
iorlas commented 13 years ago

Add chained logging:

log("Operation")
log("complete")
=> "Operation: complete"

If last log-string wasnt a "Operation"(needed first part of chain), repeat it. So, we need to show a time-delta.