text: ﻿# Logger Custom Output
   
  This program is ported by C# from examples\logger_custom_output_ex.cpp.
  
  ## How to use?
  
  ## 1. Build
  
  1. Open command prompt and change to &lt;LoggerCustomOutput_dir&gt;
  1. Type the following command
  ````
  dotnet build -c Release
  ````
  2. Copy ***DlibDotNet.dll***, ***DlibDotNetNative.dll*** and ***DlibDotNetNativeDnn.dll*** to output directory; &lt;LoggerCustomOutput_dir&gt;\bin\Release\netcoreapp2.0.
  
  **NOTE**  
  - You should build ***DlibDotNetNative.dll*** and ***DlibDotNetNativeDnn.dll*** with CUDA.
  - If you want to run at Linux and MacOS, you should build the **DlibDotNet** at first.  
  Please refer the [Tutorial for Linux](https://github.com/takuya-takeuchi/DlibDotNet/wiki/Tutorial-for-Linux) or [Tutorial for MacOS](https://github.com/takuya-takeuchi/DlibDotNet/wiki/Tutorial-for-MacOS).
  
  ## 2. Run
  
  ````
  cd <LoggerCustomOutput_dir>
  dotnet run --configuration Release
  
  INFO  [0] main: This is an informational message.
  ERROR [0] main: An error message!
  ````