Skip to content

Commit

Permalink
fix usage of deprecated logging
Browse files Browse the repository at this point in the history
  • Loading branch information
belav committed Jul 28, 2023
1 parent 4d295e1 commit 4564ad8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package com.intellij.csharpier;

import com.esotericsoftware.minlog.Log;
import com.intellij.openapi.diagnostic.Logger;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStream;

public class CSharpierProcessSingleFile implements ICSharpierProcess {
Logger logger = CSharpierLogger.getInstance();
Expand Down Expand Up @@ -44,7 +42,7 @@ public String formatFile(String content, String fileName) {
return result;
}
else {
Log.error(result);
this.logger.error(result);
}
} catch (Exception e) {
this.logger.error("error", e);
Expand Down

0 comments on commit 4564ad8

Please sign in to comment.