<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword">fun </span><ahref="value-of.html"><spanclass="token function">valueOf</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">value<spanclass="token operator">: </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="index.html">LogLevel</a><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/KSLog/blob/master//src/commonMain/kotlin/KSLog.kt#L7">source</a>)</span></span></div><pclass="paragraph">Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</p><h4class="">Throws</h4><divclass="table"><divclass="table-row"data-filterable-current=":dokkaHtml/commonMain"data-filterable-set=":dokkaHtml/commonMain"><divclass="main-subrow keyValue "><divclass=""><spanclass="inline-flex"><div><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-illegal-argument-exception/index.html"><span>Illegal</span><wbr></wbr><span>Argument</span><wbr></wbr><span><span>Exception</span></span></a></div></span></div><div><divclass="title"><pclass="paragraph">if this enum type has no constant with the specified name</p></div></div></div></div></div></div></div>