forked from hiway/freedive
Remove logging from colorhash
This commit is contained in:
parent
0db3e9be30
commit
f54e50eb11
1 changed files with 0 additions and 2 deletions
|
@ -21,7 +21,6 @@ defmodule Liliform.Colorhash do
|
|||
"""
|
||||
def hsl(input, raw: true) do
|
||||
if Features.enabled?(:colorhash) do
|
||||
Logger.debug("Colorhash enabled")
|
||||
input = String.downcase(input) <> @seed
|
||||
hash = :erlang.phash2(input, 2_147_483_647)
|
||||
|
||||
|
@ -31,7 +30,6 @@ defmodule Liliform.Colorhash do
|
|||
|
||||
{hue, saturation, lightness}
|
||||
else
|
||||
Logger.debug("Colorhash disabled")
|
||||
@default_color
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue