mirror of
https://github.com/bitwarden/mobile
synced 2026-01-07 11:03:54 +00:00
log service
This commit is contained in:
28
src/Core/Services/ConsoleLogService.cs
Normal file
28
src/Core/Services/ConsoleLogService.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Bit.Core.Abstractions;
|
||||
using System;
|
||||
|
||||
namespace Bit.Core.Services
|
||||
{
|
||||
public class ConsoleLogService : ILogService
|
||||
{
|
||||
public void Debug(string message)
|
||||
{
|
||||
Console.WriteLine("DEBUG: {0}", message);
|
||||
}
|
||||
|
||||
public void Info(string message)
|
||||
{
|
||||
Console.WriteLine("INFO: {0}", message);
|
||||
}
|
||||
|
||||
public void Warning(string message)
|
||||
{
|
||||
Console.WriteLine("WARNING: {0}", message);
|
||||
}
|
||||
|
||||
public void Error(string message)
|
||||
{
|
||||
Console.WriteLine("ERROR: {0}", message);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user