summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Log/DlogLogger.cs
blob: 987a000ae8b79f2c100c75d1fb4de9f4a84bfe2e (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using T = Tizen;

namespace Xamarin.Forms.Platform.Tizen
{
	/// <summary>
	/// Logs a message to the dlog.
	/// </summary>
	internal class DlogLogger : ILogger
	{
		public void Debug(string tag, string message, string file, string func, int line)
		{
			T.Log.Debug(tag, message, file, func, line);
		}

		public void Verbose(string tag, string message, string file, string func, int line)
		{
			T.Log.Verbose(tag, message, file, func, line);
		}

		public void Info(string tag, string message, string file, string func, int line)
		{
			T.Log.Info(tag, message, file, func, line);
		}

		public void Warn(string tag, string message, string file, string func, int line)
		{
			T.Log.Warn(tag, message, file, func, line);
		}

		public void Error(string tag, string message, string file, string func, int line)
		{
			T.Log.Error(tag, message, file, func, line);
		}

		public void Fatal(string tag, string message, string file, string func, int line)
		{
			T.Log.Fatal(tag, message, file, func, line);
		}
	}
}