aboutsummaryrefslogtreecommitdiff
path: root/src/ldapsp_log.erl
blob: 58f9031fe1493b2053cd9f72f0a92b8774f7e6cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-module(ldapsp_log).
-export([
	 err/2,
	 warn/2,
	 info/2,
	 debug/2
]).

-spec info(string(), list()) -> ok.
info(Fmt, Args) ->
    io:fwrite("[I] Ldasp: " ++ Fmt, Args).

-spec warn(string(), list()) -> ok.
warn(Fmt, Args) ->
    io:fwrite("[W] Ldasp: " ++ Fmt, Args).

-spec err(string(), list()) -> ok.
err(Fmt, Args) ->
    io:fwrite("[E] Ldasp: " ++ Fmt, Args).

-spec debug(string(), list()) -> ok.
debug(Fmt, Args) ->
    io:fwrite("[D] Ldasp: " ++ Fmt, Args).