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 vibe.core.log when Have_vibe_d_core #113

Closed
SingingBush opened this issue Jun 26, 2017 · 3 comments
Closed

use vibe.core.log when Have_vibe_d_core #113

SingingBush opened this issue Jun 26, 2017 · 3 comments

Comments

@SingingBush
Copy link

when mysql-native is being used in a vibe-d application it may be handy to make use of vibe-d's logging.

I'm currently seeing some problems when my application attempts to load some data from mariadb so I decided to increase the logging. I can see plenty from both my app and vibe-d but nothing from mysql-native.

It would be really handy if you guys were making use of logDebug, logInfo and logError

@s-ludwig
Copy link

The ideal solution would probably be to use std.experimental.logger and plug that into vibe.d's log system. The main issue with this is that std.experimental.logger has no semantics defined for log levels < "info". It only has trace, with a number of unassigned integers to the nest level info, so mapping this to vibe.d is quite ambiguous.

@SingingBush
Copy link
Author

SingingBush commented Jun 29, 2017

That's also fine with me. (I created vibe-d issue 1530 for making use of std.experimental.logger)

It's unfortunate that it doesn't have a log level for debug, I've raised it on the phobos issue tracker

SingingBush added a commit to SingingBush/mysql-native that referenced this issue May 13, 2018
SingingBush added a commit to SingingBush/mysql-native that referenced this issue Oct 5, 2019
SingingBush added a commit to SingingBush/mysql-native that referenced this issue Oct 28, 2019
SingingBush added a commit to SingingBush/mysql-native that referenced this issue May 24, 2021
SingingBush added a commit to SingingBush/mysql-native that referenced this issue May 28, 2021
SingingBush added a commit to SingingBush/mysql-native that referenced this issue May 29, 2021
SingingBush added a commit to SingingBush/mysql-native that referenced this issue Jan 12, 2022
SingingBush added a commit to SingingBush/mysql-native that referenced this issue Jan 13, 2022
schveiguy added a commit that referenced this issue Jan 14, 2022
@schveiguy
Copy link
Collaborator

Closed in #187

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

3 participants