Commit 99aec859 authored by Mathias Chouet's avatar Mathias Chouet 🍝
Browse files

Add clear() method on cLog

parent 91bd4540
...@@ -4,6 +4,13 @@ import { Message, MessageCode } from "./message"; ...@@ -4,6 +4,13 @@ import { Message, MessageCode } from "./message";
export class cLog { export class cLog {
private _messages: Message[] = []; private _messages: Message[] = [];
/**
* efface tous les messages
*/
public clear() {
this._messages = [];
}
/** /**
* insère un message en fin de liste * insère un message en fin de liste
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment