[#BCLog-Logger-SetLogLevel-02]
= xref:BCLog.adoc[BCLog]::xref:BCLog/Logger.adoc[Logger]::SetLogLevel
:relfileprefix: ../../
:mrdocs:

`SetLogLevel` overloads

== Synopses

Declared in `&lt;logging&period;h&gt;`

Set the global log level&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
xref:BCLog/Logger/SetLogLevel-05.adoc[SetLogLevel](xref:BCLog/Level.adoc[Level] level);
----

[.small]#xref:BCLog/Logger/SetLogLevel-05.adoc[_» more&period;&period;&period;_]#

Set the global log level, parsing it from a string&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
xref:BCLog/Logger/SetLogLevel-03.adoc[SetLogLevel](std::string&lowbar;view level);
----

[.small]#xref:BCLog/Logger/SetLogLevel-03.adoc[_» more&period;&period;&period;_]#

== Return Value

true if the string was a valid log level&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *level*
| The new global log severity level&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
