Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (14 sloc) 402 Bytes
using System;
namespace picoLogger {
class PLog {
private static string path = "log.txt";
public static void WriteLine(string line) {
try {
using (System.IO.StreamWriter file = new System.IO.StreamWriter(path, true)) {
file.WriteLine(line);
}
} catch (Exception e) {
}
}
}
}