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

Updated the log[Info|Error|...] functions to take any string. #532

Merged
merged 1 commit into from Feb 16, 2014

Conversation

Projects
None yet
2 participants
@Geod24
Contributor

Geod24 commented Feb 16, 2014

Before they only accepted string.
Such code failed to compile:

dstring test = "This will fail.";
logInfo(test);
import std.digest.md;
logInfo("The hash is: " ~ toHexString(md5Of(password)));
@Geod24

This comment has been minimized.

Show comment
Hide comment
@Geod24

Geod24 Feb 16, 2014

Contributor

Updated to be a template constraint.

Contributor

Geod24 commented Feb 16, 2014

Updated to be a template constraint.

@s-ludwig

This comment has been minimized.

Show comment
Hide comment
@s-ludwig

s-ludwig Feb 16, 2014

Member

Okay, thank you!

Member

s-ludwig commented Feb 16, 2014

Okay, thank you!

s-ludwig added a commit that referenced this pull request Feb 16, 2014

Merge pull request #532 from Geod24/fix-logfunctions-types
Updated the log[Info|Error|...] functions to take any string.

@s-ludwig s-ludwig merged commit 801d46b into vibe-d:master Feb 16, 2014

1 check passed

default The Travis CI build passed
Details

@Geod24 Geod24 deleted the Geod24:fix-logfunctions-types branch Feb 16, 2014

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