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

use standard nextcloud logging / log levels #129

Open
meonkeys opened this issue Mar 22, 2023 · 1 comment
Open

use standard nextcloud logging / log levels #129

meonkeys opened this issue Mar 22, 2023 · 1 comment

Comments

@meonkeys
Copy link
Contributor

meonkeys commented Mar 22, 2023

Hi there! Why is there a custom logger injecting strings like [notice], for example:

$this->log(self::$NOTICE, '[notice] ' . $message, $trace, $serializable);

It seems like enough that it is an INFO level message. Unless we need these extra fine-grained log levels, why not simplify or remove TLogger altogether and use the built-in log levels?

@juliusknorr
Copy link
Member

Definitely something we should cleanup, thanks for bringing this up.

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

No branches or pull requests

2 participants