Remove logging from colorhash

This commit is contained in:
Harshad Sharma 2024-05-16 01:49:55 +05:30
parent 0db3e9be30
commit f54e50eb11

View file

@ -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