Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework logging #39

Open
iorlas opened this issue Nov 6, 2011 · 1 comment
Open

Rework logging #39

iorlas opened this issue Nov 6, 2011 · 1 comment
Milestone

Comments

@iorlas
Copy link
Owner

iorlas commented Nov 6, 2011

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
Copy link
Owner Author

iorlas commented Nov 7, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant