summaryrefslogtreecommitdiff
path: root/src/bindings/mono/eina_mono/eina_log.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/mono/eina_mono/eina_log.cs')
-rw-r--r--src/bindings/mono/eina_mono/eina_log.cs19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/bindings/mono/eina_mono/eina_log.cs b/src/bindings/mono/eina_mono/eina_log.cs
index 4d67bbb..2174c65 100644
--- a/src/bindings/mono/eina_mono/eina_log.cs
+++ b/src/bindings/mono/eina_mono/eina_log.cs
@@ -1,3 +1,18 @@
1/*
2 * Copyright 2019 by its authors. See AUTHORS.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
1#pragma warning disable 1591 16#pragma warning disable 1591
2 17
3using System; 18using System;
@@ -64,7 +79,7 @@ public static class Log
64 /// <summary>The colors to be used by the logging system. 79 /// <summary>The colors to be used by the logging system.
65 /// <para>Since EFL 1.23.</para> 80 /// <para>Since EFL 1.23.</para>
66 /// </summary> 81 /// </summary>
67 public static class Color 82 internal static class Color
68 { 83 {
69 /// <summary>Light red 84 /// <summary>Light red
70 /// <para>Since EFL 1.23.</para> 85 /// <para>Since EFL 1.23.</para>
@@ -124,7 +139,7 @@ public static class Log
124 static Log() 139 static Log()
125 { 140 {
126 const String name = "mono"; 141 const String name = "mono";
127 const String color = "\033[32;1m"; 142 const String color = Color.GREEN;
128 143
129 // Maybe move this check outside when other eina stuff get support? 144 // Maybe move this check outside when other eina stuff get support?
130 domain = eina_log_domain_register(name, color); 145 domain = eina_log_domain_register(name, color);