Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion std/experimental/logger/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,7 @@ abstract class Logger
}

/** Logs a part of the log message. */
protected void logMsgPart(const(char)[] msg) @safe
protected void logMsgPart(scope const(char)[] msg) @safe
{
static if (isLoggingActive)
{
Expand Down
2 changes: 1 addition & 1 deletion std/experimental/logger/filelogger.d
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class FileLogger : Logger
/* This methods overrides the base class method and writes the parts of
the log call directly to the file.
*/
override protected void logMsgPart(const(char)[] msg)
override protected void logMsgPart(scope const(char)[] msg)
{
formattedWrite(this.file_.lockingTextWriter(), "%s", msg);
}
Expand Down