Last active
August 1, 2018 18:51
-
-
Save adrianfaciu/eead8773ac3fa4bdb671cbae208e177b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Action } from '@ngrx/store'; | |
export const LOG_ERROR = '[Logger] Log Error'; | |
export const LOG_WARNING = '[Logger] Log Warning'; | |
export const LOG_INFO = '[Logger] Log Info'; | |
export class LogError implements Action { | |
readonly type = LOG_ERROR; | |
constructor(readonly payload: { message: string }) { } | |
} | |
export class LogWarning implements Action { | |
readonly type = LOG_WARNING; | |
constructor(readonly payload: { message: string }) { } | |
} | |
export class LogInfo implements Action { | |
readonly type = LOG_INFO; | |
constructor(readonly payload: { message: string }) { } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment